-
Good morning!
I was trying to extend my layout toolkit with shortcodes. I wrote a few shortcodes using WPCode Lite plugin. The issue is that I can’t change the name of shortcode in free version of the plugin, so each shortcode looks like:
[wpcode id=”14503″ acf_key=”” class=””]
The id attribute is used to distinct which shortcode I want to use. Other attributes are defined by me. I’ve added the shortcodes to shorcode mapper module, setting the id as hidden field and exposing all other attributes to UI. The problem is that every shortcode is named wpcode. In the builder frontend I can see only one block that references wpcode shortcode. When I change the shortcode name in shortcode to ex. wpcode1, then it’s displayed in the builder, but of course the code is not working. Is there any workaround to this issue? It’s also make sense to have several copies of the same shortcode with some predefined attributes set, so I am not sure why WooCommerce Page Builder filters copies out. Hope you can help with that.
Best regards,
Grzegorz Kupczyk
Shortcode mapper don't display all shortcodes
This topic is: not resolved