Closed ci2014 closed 4 months ago
To use shortcodes in Breakdance, either:
Apply the_content filter to Breakdance content
option@breakdancemoderator You marked it as completed, but you did not understand the issue, that the shortcodes are processed in a page, but not processed in a template. They are handled differently, and that is a bug.
Shortcodes in heading, texts, and other elements are not processed when using Breakdace templates
Clear description of the bug:
add_shortcode('my_custom_shortcode', 'my_custom_shortcode_function'); function my_custom_shortcode_function() { return "World"; }
Use [my_custom_shortcode] anywhere in a page created with breakdance, for example, a heading with the Text "Hello [my_custom_shortcode]!". Result will be Hello World!
Create a template using breakdance and apply it to any page. Use the same heading in the template "Hello [my_custom_shortcode]!" will return "Hello [my_custom_shortcode]!" instead of Hello World!