I am trying to: Use Toolset conditional shortcode logic in Beaver Builder photo fields to allow featured image override in template.
Link to a page where the issue can be seen: hidden link
I expected to see: Image + caption on mobile view.
Instead, I got: Image + alt text + caption on mobile view. For a while, image was also broken (see attached screenshot).
The issue began in early March when we upgraded to the new version of Toolset.
We implemented a workaround to make our production site work for now: hidden link
But we'd like to find out if this is a know issue and if you can fix the plugin or if we need to explore alternative ways to use conditional logic with Beaver Builder.
Thanks Minesh, how do I add our website vendor to follow and help out on this ticket? I would like to add them so they can pick up the conversation and troubleshoot with you.
Here is an archived version of a page where you can see the issue: hidden link
How do I add our website vendor to follow and help out on this ticket? I would like to add them so they can pick up the conversation with you.
Although the same is not happening on the site, the conditional logic seems to not be working on the sandbox site you have provided. Here is an example: hidden link
There I was testing the shortcode conditional logic from your example page, but it doesn't seem to be doing anything there.
When we added the below shortcode to the Beaver Builder Photo widget's src field, it didn't work as expected. After a closer look, we found that the issue started occurring after Beaver Builder added the escaping function in the `FLPhotoModule::get_src()` method `return esc_url( do_shortcode( $src ) );`
Is there any way we can use shortcodes with Beaver Builder?
Well - you can add the shortcodes using shortcodes module or you can create a Toolset Content template (dont assign this content template to any post type) and add your desired shortcodes to this content template and later add the shortcode's or text module to beaver builder and display the Toolset content template.