Structure Viewer 2.1 is a comprehensive developer toolkit for WordPress that provides deep insight into your installed plugins and themes. Beyond simple file browsing, it offers powerful search capabilities, in-file content viewing, individual file downloads, multiple export formats (including PDF), and intelligent filtering—all within a clean, modern interface.
🚀
Core Features:
📁 Advanced File Explorer
- Tree View Navigation: Expandable folder structure with intuitive icons
- File Information: View file sizes and modification dates on demand
- Image Handling: Image files automatically open in new tabs
- Modal File Viewer: View file contents directly in the admin with syntax highlighting
- File Download: Download any individual file directly from the file viewer modal
-
Keyboard Navigation: Use arrow keys to navigate through the file tree
🔍 Powerful Search & Filter
-
Real-time Search: Instantly search across all files and folders
- File Type Filtering: Filter by specific file types (PHP, JS, CSS, Images, etc.)
- Extension-based Search: Search by file extension (e.g.,
.php, .js)
-
Contextual Results: Results show full file paths and metadata
📤 Multi-Format Export
-
Export as TXT: Plain text structure for easy sharing
- Export as JSON: Structured data for API integration
- Export as XML: Standardized format for data processing
- Export as PDF: Formatted PDF with header, page numbers, and branding
- Clipboard Copy: One-click copy of entire structure to clipboard
- Direct Downloads: Export files with proper naming and MIME types
-
Individual File Download: Download any single file from within the file viewer
🎨 Enhanced User Experience
-
Responsive Design: Works perfectly on desktop, tablet, and mobile
- Loading Indicators: Visual feedback during operations
- Persistent Settings: Remember your preferences between sessions
- Accessibility: Keyboard navigation and focus management
-
Clean Interface: Modern WordPress admin styling
⚡ Advanced Features:
-
WP-CLI Integration: Manage structures from command line
- Security Focused: Strict permission checks and path validation
- Performance Optimized: Efficient file scanning with exclusions
- Nonce Protection: Secure AJAX operations
- Smart Exclusions: Automatically ignores
node_modules, .git, and system files
🛠
Professional Use Cases:
🔧 Development & Debugging
- Quickly locate specific files in complex plugin structures
- Identify missing or misplaced files causing issues
- Understand plugin/theme architecture for customization
-
Debug file permission or path-related problems
📊 Auditing & Security
-
Review third-party plugin structures for suspicious files
- Verify file integrity after updates
- Check for unnecessary or redundant files
-
Ensure proper file organization standards
🤖 AI-Assisted Development
-
Export complete structures for AI analysis (ChatGPT, Claude, etc.)
- Provide AI with context about plugin architecture
- Get precise code modification suggestions
-
Example: "Here's WooCommerce's structure, how do I modify cart functionality?"
📋 Documentation & Collaboration
-
Generate structure documentation for teams
- Share plugin layouts with remote developers
- Create visual maps of complex projects
- Maintain reference documentation for future development
2.1.1
Fixes the Copy Structure button in Safari.
2.1
Adds individual file downloads from the file viewer modal, and PDF structure export. Drop-in replacement — no database changes or configuration required.
2.0
Major Update - This version completely rebuilds the plugin with modern JavaScript architecture, multiple export formats, advanced search, and a file content viewer. Backward compatible with existing structures.
1.2
This update enhances the export button's UI for better visibility and adds a "Settings" link in the plugin listing for quick access to the Structure Viewer page.
1.1
This update adds the ability to export the file structure as a text file, making it easier to share or analyze with other tools.