Open
GeneratePress Premium includes a re-usable “Element” feature that can be edited with blocks.
If you insert a Toolset Conditional Block, blocks added as conditional content will render on the front-end as unparsed shortcodes. (And shortcodes added using the native Shortcode block will similarly be output as the name of the shortcode rather than the parsed content.)
There is currently no solution available, conditional blocks cannot be used in this context.
This appears to be true for Gutenberg Reusable Blocks too – so it is a much wider issue, than just for GeneratePress.
Issue Potentially Solved:
1. Create a Toolset Content Template with your conditionals
2. Call that template from within the Element
I currently have two types of custom post types that need to be styled differently in search results. Each custom post type has its own (child) template, which is nested into conditionals (based on [wpv-post-type]) on yet another (parent) template. The (parent) template is called in my Element for search results.