Yesterday, 10up formally introduced Convert to Blocks, a WordPress plugin for remodeling basic posts into blocks. The aim is to offer customers with a secure migration route for outdated content material whereas eradicating the burdens of different choices within the house.
I briefly talked about this plugin in an article covering bulk conversion within the Ask the Bartender collection. Nonetheless, I couldn’t suggest it to most customers as a result of it was hosted on GitHub, a website that’s geared towards builders. With it now formally within the WordPress plugin listing, it’s a rather more user-friendly choice.
Most conversion choices both convert posts in bulk or by means of a guide course of, such because the person clicking a button. Bulk converters could be problematic at a big scale just because there is no such thing as a dependable means for customers to test the success of every submit’s conversion to blocks. In fact, customers might test these posts individually, however that’s impractical when coping with quite a lot of dozen posts.
Bulk converters are additionally performed so along with a database backup. It’s wise to do that when altering giant quantities of content material without delay simply to be on the secure aspect.
“We noticed an area for a 3rd means — an answer that eliminates editors stumbling upon Traditional blocks and needing to know how one can convert them, whereas additionally holding again on content material transformation till content material must be modified — at which level it’s also, sometimes, checked once more on the entrance finish of the location,” wrote Darshan Sawardekar, a 10up lead net engineer, within the announcement.
“That’s the place the thought for Convert to Blocks got here into play. It started as a artistic engineering resolution to mitigate threat and enhance content material mapping. Its success impressed the event and public launch of the plugin to assist others facilitate secure content material migrations to the WordPress block editor.”
10up’s resolution is a little bit of a center floor. It solely converts a submit when a person enters the enhancing display screen for it. From that time, the person can test whether or not the conversion seems to be appropriate, repair any issues in the event that they come up, and save the submit.
Basically, it really works the identical because the default convert-to-blocks choices in WordPress with out the guide step.
For a lot of customers, that is the best resolution. As a result of basic content material works the identical because it at all times has on the entrance finish, it’s pointless to transform it except the necessity to edit the submit additionally arises.
Convert to Blocks additionally provides a brand new column to the handle posts display screen named “Editor.” It lists whether or not the submit content material was created with both the block or basic editor, offering customers with an at-a-glance look with out checking posts individually.
Like different plugins, Convert to Blocks makes use of the core transformation characteristic, which is an imperfect resolution. Relying on the content material of the submit, the conversion will typically throw an error. That’s the reason bulk options are sometimes problematic. With this plugin, customers will know instantly upon enhancing a submit if there is a matter.
Given the plugins obtainable right now for changing basic posts to blocks, this is able to be my best choice. It focuses on remodeling to blocks the place it issues — throughout the enhancing course of — and removes some guide work for the person.