Infovarious Classic to Block Converter

Description

Infovarious Classic to Block Converter converts posts written in the classic editor (posts that contain no blocks) into block-editor content, in bulk, with safety checks.

It was built for a large Japanese blog with a custom theme, many shortcodes and affiliate links, where “convert and hope” was not acceptable.

How it keeps your site safe

  • Output comparison: for every post, the plugin simulates how the front end renders the content before and after conversion. If they differ, the post is not split into blocks; it is kept as a single Classic block, or skipped if even that would change the output.
  • Link and shortcode check: links, images, scripts, shortcodes and embed URLs must be identical before and after, otherwise the post is not split.
  • Read-only dry run, status and preview: these never write to the database. Only “Run conversion” and “Roll back / delete backups” write.
  • Per-post backup: the original content is saved in post meta (_ctbc_original_content) and read back before the post is updated. Rolling back restores it, unless you edited the post after conversion.
  • Conflict-safe update: a post edited while the batch runs is skipped.
  • Modified date is kept, and save hooks of other plugins are not triggered.
  • Pages are excluded. Already-block posts are skipped; posts that mix blocks with old classic parts are reported for review.
  • Conversion history (title, URL, mode, time) and a real-site preview for administrators.

Content that cannot be expressed safely as a core block (for example affiliate HTML, theme-specific shortcodes) is kept verbatim in Custom HTML or Shortcode blocks.

Tested with a Japanese site using the AFFINGER7 theme (with a child theme and its shortcodes) and Pochipp blocks. It is not affiliated with or endorsed by the theme’s author. Results on other themes and plugins can differ, so always run the dry run and preview first.

The admin UI is in Japanese. Translation is not yet included.

Installation

  1. Back up your database.
  2. Upload the plugin and activate it.
  3. Open Tools > クラシックブロック変換.
  4. Run the dry run and check the preview.
  5. Convert 2-3 posts first (enter their IDs), check them on the front end, then run the full conversion.

FAQ

Will my posts look different after conversion?

The plugin is designed so they do not: it compares the rendered output and refuses to convert posts where it differs. This is an automatic check, not a guarantee. Always back up and preview.

Where is the backup stored?

In the database, in post meta (_ctbc_original_content, plus _ctbc_converted_at, _ctbc_mode, _ctbc_note, _ctbc_hash). No files are written. Deactivating or deleting the plugin keeps the backups; use “delete backups” in the plugin screen to remove them.

Does it change the modified date?

No.

Does it send data anywhere?

No. It does not contact any external server.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Infovarious Classic to Block Converter” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.3.2

  • Tested up to WordPress 7.1.

2.3.1

  • Prepared for the plugin directory: license header, readme, admin JavaScript loaded with wp_add_inline_script.
  • Post ID filter in SQL queries now uses placeholders (passes Plugin Check with no errors).
  • No change to conversion logic.

2.2.5

  • Empty classic wrappers are treated as “none”.

2.2.4

  • Whitespace around block-level tags is ignored when comparing output.