I have built a View using Beaver Builder for the loop template. When I update the search results via Ajax, all the shortcode fields disappear
Here are the shortcodes I'm using in the template:
[wpbb post:featured_image size='book' display='tag' align='default' linked='yes']
Reviewed By: [wpbb post:author_name type='display' link='yes' link_type='archive']
Genre: [wpbb post:terms_list taxonomy='genre' html_list='no' separator=', ' limit='' linked='yes']
Heat Rating: [wpbb post:terms_list taxonomy='heat_rating' html_list='no' separator=', ' limit='' linked='yes']
[wpv-post-taxonomy type="series"]
Each of these vanishes on update. Only [wpv-post-link] remains.
Here's a quick video of the issue:
hidden link
Any idea what I might be doing wrong?
Hello,
The Views AJAX feature is using file /wp-admin/admin-ajax.php to retrieve results, this file is in WordPress admin side.
In your case, it requires your custom shortcodes [wpbb ...] work in WordPress admin side too, some custom shortcodes work only in WordPress front-end, so it conducts the problem you mentioned above.
I suggest you check these:
1) Check it with Beaver Builder support, check if it is possible to make their shortcodes work in WordPress adminside.
2) If they can not, replace those shortcodes with Toolset shortcodes, for example:
https://toolset.com/documentation/user-guides/views/views-shortcodes/#wpv-post-featured-image
https://toolset.com/documentation/user-guides/views/views-shortcodes/#wpv-post-taxonomy