Skip Navigation

[Resolved] When I update a View using Ajax, the Beaver Builder fields disappear

This support ticket is created 4 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 4 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1418657

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?

#1421233

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