
內容簡介
Structure Viewer 是一款全面的 WordPress 開發者工具包,提供對已安裝外掛和佈景主題的深入洞察。它不僅支援文件瀏覽,還具備強大的搜尋功能、內部內容檢視、單個文件下載及多種匯出格式,並在乾淨現代的介面中運行。
【主要功能】
• 進階文件瀏覽器:樹狀結構導航與直觀圖示
• 實時搜尋:即時搜尋所有文件和資料夾
• 多格式匯出:支援 TXT、JSON、XML、PDF 等格式
• 直觀的文件檢視:在管理介面中直接檢視文件內容
• 鍵盤導航:使用方向鍵在文件樹中導航
外掛標籤
開發者團隊
原文外掛簡介
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
Additional Information
Security: Requires manage_options capability with nonce protection, input validation, output escaping, and directory traversal prevention.
Performance: Lightweight modular architecture with optimized file scanning and selective asset loading.
Compatibility: Tested with WordPress 6.9 and PHP 7.2+. PDF export uses jsPDF 2.5.1 loaded from cdnjs (no server-side PDF library required).
Support: For support, feature requests, or bug reports, please visit the plugin page.
Contributing: Developers can contribute via GitHub (link in plugin description).
Credits
Developed by Blincks — A web design and development agency. Structure Viewer is one of our open-source tools built for the developer community.
