Block Usage Tracker is a WordPress® admin tool designed to help content managers and developers monitor block usage across a site.
The plugin lists each block type used in posts, counting the total occurrences and shows direct links to each post where a block appears.
This functionality helps teams optimize content, understand block usage patterns, and maintain consistency.
- Lists all active blocks across posts and their usage counts.
- Displays links to each page/post where blocks are used.
- Excludes duplicate links for better readability.
- Caches block usage data for efficient, optimized performance.
- User-friendly modal interface for viewing detailed block usage by post.
- Designed with proper security and access restrictions.
- Download the latest release from GitHub.
- In your WordPress® dashboard, go to Plugins > Add New.
- Click Upload Plugin and choose the downloaded ZIP file.
- Install and activate the plugin.
- Download the plugin files and extract the ZIP.
- Upload the extracted folder to
/wp-content/plugins/block-usage-tracker
. - Activate the plugin through the Plugins menu in WordPress®.
- Once activated, go to Settings > Block Usage Tracker in your WordPress® admin.
- You'll see a table with each block type, its total usage count, and a View Details button.
- Click View Details for any block to open a modal with links to each post where that block is used.
We welcome contributions to improve Block Usage Tracker! Here's how you can help:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch-name
). - Commit your changes (
git commit -am 'Add new feature or fix'
). - Push to the branch (
git push origin feature-branch-name
). - Open a pull request.
For bug reports or feature requests, please open an issue in this repository.