Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitLab with WP-CLI:
wp plugin install https://gitlab.com/filipvanreeth/block-analyzer/-/archive/develop/block-analyzer-develop.zipOn Packagist as filipvanreeth/block-analyzer:
composer require filipvanreeth/block-analyzerNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Block Analyzer Plugin
The Block Analyzer plugin is a tool for analyzing the blocks used in your WordPress site. It provides information about the blocks used on each page, including their names, attributes, and other details.
Installation
To install the Block Analyzer plugin, follow these steps:
1. Download the plugin files from the WordPress plugin repository or from the Gitlab repository.
2. Upload the plugin files to the /wp-content/plugins/block-analyzer directory, or install the plugin through the WordPress plugins screen directly.
3. Activate the plugin through the 'Plugins' screen in WordPress.
Usage
To use the Block Analyzer plugin, simply activate it and navigate to any page on your WordPress site. The plugin will automatically analyze the blocks used on the page and display the block used in (custom) posts and pages.
Configuration
The Block Analyzer plugin can be configured using the following filters:
- blockanalyzer/disableblock: Disables a specific block(s) from being analyzed.
- blockanalyzer/disablecoreblocks: Disables all core blocks from being analyzed.
Examples
Contributing
Contributions to the Block Analyzer plugin are welcome! To contribute, plea