Greetings,
This plugin does exactly what it is supposed to. Perfect. Well done.
But I need to be able to add an extra line break between paragraphs before the wpautop function is called.
The posts currently do not have this and so the entire post is converted to one big paragraph with BR tags when the paragraphs should end/begin.
This is by design. As the documentation explains on the wpautop function.
If you just added a filter above the wpautop, that would work. Then I could insert my own code as needed.
I tested this out and it worked perfectly:
Code:
$post->post_content = str_replace(“\r\n”, “\n”, $post->post_content);
$post->post_content = str_replace(“\n”, “\n\n”, $post->post_content);
The result was properly formatted paragraph blocks.
–RayJ
]]>i have done scan content but , posts not converted to block when I open in wp-admin. what to do after scan content please let me know?
]]>Hello Developer,
are you still supporting your plugin?
The support tickets don’t seem to be answered.
If you no longer support it, I would fork and fix it and improve it.
Hi, thanks for this super helpful plugin. After updating to WP 5.7 the ‘Scan Content’ and ‘Bulk Convert All’ buttons no longer appear to be working. Perhaps it is a Javascript issue related to the update? Would love to be able to continue to use it. Thx.
]]>Hi, wondered if you fixed the Shortcodes being deleted after convert.
]]>I keep getting “out of memory” errors after I run the “scan” step with the plugin.
The errors look like: “Fatal error: Allowed memory size of 943718400 bytes exhausted (tried to allocate 20480 bytes) in /WebDev/ddwp/wp-includes/wp-db.php on line 1999”
This is a web site with A LOT of posts, but I can’t get it to succeed even with a 1024M PHP memory_limit
value.
Hello
The plugin works great. But converting 10,000 records takes too long. Is it possible to run in shell on server? Maybe I can use wp-cli somehow?
For some reason the blockquote sections on my site don’t convert to Classic Paragraph but convert to HTML blocks instead. Is there way to change this?
]]>Any plans to make this work with WP 5.5+?
]]>I am in the converting process now and checked a few old posts. I notice that in the front end the galleries are not visible. When I go in to the post I can see the gallery (sometimes compleet, sometimes I have to click on one of the visible images to make the rest appear) and only after saving the post again the gallery is also visible in the front end.
]]>hi, I’ve tried the Bulk Block Conversion plugin and it did’t work. i.e. When I click on scan content, nothing happens. I am on wordpress 5.4.
I’ve tried both 1.0 and 1.0.1 version. the same thing, I’ve also disabled my other plugins, no luck. Any idea?
]]>Hey guys! Love the idea for this plugin, exactly what I needed. I see the other conversations you’ve had regarding shortcodes in the forums. But there is actually a bug.
By default in Gutenberg when you convert a post to blocks, it will retain a shortcode by dumping it into a a shortcode block. No content is lost. With your plugin, the shortcode block gets created, but it’s empty. So you’re not actually mimicking the same process as Gutenberg does when you click “Convert to Blocks.”
I’ve confirmed this with a few tests after installing your plugin. I see in your response to a few others, that you are suggesting to open a ticket with WordPress/Gutenberg. But conversions of shortcodes works fine when using the “Convert to Blocks.” It doesn’t when using your plugin.
Just wanted to give you a heads up! I would suggest taking another look at that.
Thanks. I’m happy to provide any additional info if needed.
]]>Is it possible to automatically convert post?.
Thank you for this great Plugin.
Some of my sites contain a great deal of shortcodes. For example, we use Gravity Forms heavily and so there are a lot of GF shortcodes. Unfortunately, when we run this plugin to convert to blocks, the plugin creates a shortcode block – but it does not include the shortcode itself, just an empty shortcode block, so the form is lost.
This also happens with custom shortcodes – we have [row] and [column] as well. It seems as though the plugin could extract the shortcode itself (i.e. ‘gravityform’) and include that in the shortcode block, as well as any attributes (i.e. ‘id=”1″ title=”false”‘) without ever having to know what the shortcode does. Perhaps this is a bug – Core developers sure have changed blocks a lot already, so it wouldn’t surprise me if this plugin initially converted shortcodes successfully, but the current version of WP Core has updated something that broke the ability of the plugin to extract the shortcode and its attributes.
]]>My sites use a lot of custom post types, and it would be very helpful to be able to convert their content, not just Posts and Pages.
]]>This plugin converts gallery shortcodes to gallery blocks. This is terrible behaviour and needs to be fixed urgently as it can break sites. The gallery shortcode should be just wrapped in a shortcode block.
]]>I tested this plugin. I cannot use this plugin since it does not insert the pre-existing shortcodes into the new GB shortcode block. After converting a post or a page with a shortcode in the Classic block, the new GB shortcode block is missing the shortcode.
Can you fix this, please? I want to be able to use this plugin since I have over 1,000 posts to convert to GB.
I am using the latest version of WordPress and the built-in Block Editor.
Thank you for sharing such a great plugin!
]]>This plugin would be very useful to me on a current project, I’m just trying it out now, and I’m getting a JS error on the conversion page, and I would assume this is why nothing happens when hitting the scan content button.
The error is as follows, on line 15719 of index.js:
TypeError: undefined is not an object (evaluating ‘e.__experimentalEnableLegacyWidgetBlock’)
]]>