Linux 软件免费装
Banner图

Structure Viewer

开发者 blincks
更新时间 2025年12月5日 02:52
PHP版本: 7.2 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

themes plugins debugging developer tools file structure

下载

1.0 1.1 1.2 2.0

详情介绍:

Structure Viewer 2.0 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, multiple export formats, and intelligent filtering—all within a clean, modern interface. 🚀 Core Features: 📁 Advanced File Explorer 🛠 Professional Use Cases: 🔧 Development & Debugging

安装:

  1. Download the Plugin:
  2. Download the structure-viewer folder (as a ZIP file if needed).
  3. Upload to WordPress:
  4. Via WordPress Admin: Go to Plugins > Add New > Upload Plugin, then upload the ZIP file and click "Install Now".
  5. Via FTP: Upload the structure-viewer folder to the /wp-content/plugins/ directory on your server.
  6. Activate the Plugin:
  7. Go to Plugins > Installed Plugins, find "Structure Viewer", and click "Activate".
  8. Access the Tool:
  9. Navigate to Tools > Structure Viewer in your WordPress admin dashboard.
  10. Or click the "Explore" link in your plugin listing.

屏幕截图:

  • File viewer modal with syntax highlighting
  • Search results with file type filtering
  • Export options with multiple format choices

升级注意事项:

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.

常见问题:

Who can use Structure Viewer?

This plugin requires the manage_options capability, meaning only administrators and users with similar permissions can access it.

Can I view all plugins/themes at once?

Yes! Select "All Plugins" or "All Themes" from the dropdown to view comprehensive structures of all installed items.

How does the file viewer work?

Non-image files open in a modal viewer within WordPress. Image files (JPG, PNG, GIF, etc.) automatically open in new browser tabs.

What file types can I export?

Structure Viewer supports three export formats: TXT (plain text), JSON (structured data), and XML (standardized format).

Is there a file size limit for viewing?

Yes, for security and performance, the file viewer has a 1MB limit. Larger files should be accessed directly.

Can I search within specific file types?

Absolutely! Use the File Type filter to show only PHP files, JavaScript files, CSS files, images, or other specific file types.

Does this work with WP-CLI?

Yes! Structure Viewer includes WP-CLI commands:

  • wp structure-viewer export <type> <name> - Export structures via command line
  • wp structure-viewer list <plugins|themes> - List available items

Is my data secure?

Structure Viewer includes multiple security layers: nonce verification, path traversal prevention, capability checks, and input sanitization.

What files are excluded from scans?

By default: node_modules, .git, .svn, .DS_Store, log files, and system files are excluded for performance.

更新日志:

2.0 - Major Upgrade 1.2 1.1 1.0