• I have a load of old posts and pages done in the original WP editor which desperately needed converting to blocks in order to play nicely with a child theme I was working on. We know the block editor has the facility to go through posts/pages one-by-one and convert to blocks – but this is painful….

    This plugin seems to do that job for you, but silently in the background.

    Once I’d activated it and saved the settings, nothing happened….at least, not visually. It was only when I started to look at the entries made in the legacy editor that I could see they had been converted to block format – silently!

    The only improvement I can suggest is a message on the plug-in interface page which says something like, “when you have ticked the checkboxes, press the save button and your conversion will commence as a background task.”

    I don’t know if that would make sense in keeping with the way the plug-in works. I only have a couple of hundred posts so it did the job quickly. I don’t know how it would perform on a site with thousands of old posts in legacy editor format. Either way, thanks to the author for saving me the time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Jeffrey Paul

    (@jeffpaul)

    @thedrumdoctor thanks for the kind words and review, we’re glad to know that Convert to Blocks is useful to you!

    Thread Starter thedrumdoctor

    (@thedrumdoctor)

    Thanks again for creating it!

    The only thing it doesn’t do (and I feel really bad for saying this) is putting the converted images in a div with the standard wp-block-image class. When I open a post and click on an image in the newly converted layout, it seems to trigger the addition of the missing div. Without doing this, the images convert wrapped in a pair of <figure/> tags.

    Having said that, I could always use an adjacent sibling combinator to try and pass on the right styling to the <figure/> tags not wrapped in a wp-block-image parent div. Images normally come after paragraph tags to I can see p + figure {} being a target for styling.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Works Silently in The Background!’ is closed to new replies.