Classic to Gutenberg
Batch migration from classic editor content to Gutenberg blocks
★ 0stars
780composer installs
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/apermo/classic-to-gutenberg/archive/refs/heads/main.zipAlso on Packagist as apermo/classic-to-gutenberg:
composer require apermo/classic-to-gutenbergFrom the readme
Classic to Gutenberg
Batch migration of WordPress classic editor content to Gutenberg blocks.
Requirements
- PHP 8.2+
- WordPress 6.2+
- Composer
Installation
This plugin uses Composer for autoloading. You must run composer install before activating:
If dependencies are missing, the plugin displays an admin notice and does not load.
Usage
WP-CLI
Admin Row Actions
On the Posts/Pages list screen, classic posts (without block markup) show two additional row actions:
- Convert to Blocks — converts the post content and saves immediately
- Preview Blocks — shows a preview of the converted block markup without saving
Supported Conversions
| Classic HTML | Gutenberg Block |
|---|---|
| | core/paragraph |
| – | core/heading |
| , | core/list with core/list-item |
| | core/quote with inner core/paragraph |
| | core/table (requires + ) |
| | core/image (standalone, linked, or in ) |
| | core/preformatted |
| | core/separator |
| | core/more |
| | core/nextpage |
| [caption] | core/image with caption |
| [gallery] | core/gallery with inner core/image |
| Other shortcodes | core/shortcode |
| Unrecognized HTML | core/html (fallback) |
Hooks
Filters
- classictogutenberg
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v0.5.0 | Mar 24, 2026 |
| v0.4.0 | Mar 23, 2026 |
| v0.3.1 | Mar 18, 2026 |
| v0.3.0 | Mar 15, 2026 |
| v0.2.0 | Mar 15, 2026 |
| v0.1.0 | Mar 15, 2026 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.