Shortcode conversion problems
-
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.
- The topic ‘Shortcode conversion problems’ is closed to new replies.