Export Pattern & Block Location
·
Search and export CSS classes, Gutenberg blocks, and WordPress patterns locations across all your content.
Export Pattern & Block Location is a powerful tool for WordPress developers and site administrators that helps you find where specific CSS classes, Gutenberg blocks, and WordPress patterns are being used across your entire site.
Features
- CSS Class Search — Find all occurrences of specific CSS classes in your content
- Gutenberg Block Search — Locate all uses of specific blocks (including nested blocks)
- Pattern Search — Find where WordPress block patterns are being used
- CSV Export — Download results as a CSV file for easy analysis
- JSON Export — Get results in JSON format via REST API
- WPML Support — Filter searches by language for multilingual sites
- Admin Interface — Easy-to-use admin page under Tools menu
- REST API — Programmatic access for automation and integrations
Use Cases
- Find all pages using a deprecated CSS class before removing it
- Audit which posts are using a specific Gutenberg block
- Track pattern usage across your site for design consistency
- Prepare for theme or plugin updates by knowing what is in use
- Generate reports for content inventory
Development
This plugin uses a build process to generate the JavaScript and CSS files
distributed in assets/build/.
The original, human-readable source files are available in the assets/src/ directory included in this plugin.
