Skip Navigation

[Resuelto] Theme Shortcodes not rendering after Search Params changed

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:

WPBakery shortcodes doesn't work well when doing AJAX pagination/search.

Solution:

This is a known issue:
WPBakery shortcodes doesn't work well when doing ajax reloads.

As a WorkAround, you can try the custom codes in below thread:

https://toolset.com/forums/topic/wpbakery-shortcodes-appearing-when-using-ajax-filtering-for-results/#post-1292959

Relevant Documentation:

This support ticket is created hace 4 años, 1 mes. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 2 respuestas, has 2 mensajes.

Last updated by peterv-5 hace 4 años, 1 mes.

Assisted by: Luo Yang.

Autor
Mensajes
#1556829
2 After selecting a State.png
1 before selecting a State.png

I have a view/search with some shortcodes to format the fields into 2 columns.
When I change one of the search parameters the view is updated to the new results, but the shortcodes don't render (you see the actual shortcode on the page)

I've played with various settings on the "View" page in the section:
ToolSet > Edit View > "When to update the Views results"

Link to a page where the issue can be seen:
Go here:
hidden link
Select a State and then wait a sec.

I've attached 2 images
The first is before you select anything.
The second is after you select a State

****

Also, this is the same website related to my previous support question - so if you want to use the attached credentials to look into that too, you have our permission.

Thanks!

#1557081

Hello,

I have tried the credentials you provided above, but I get these error message:
500 Error. Internal Server Error.

Please check it.

And the shortcodes you mentioned in screenshot:
https://toolset.com/wp-content/uploads/2020/03/1556829-2_After_selecting_a_State.png

They are shortcodes from plugin "WPBakery Page Builder", this is a known issue:
WPBakery shortcodes doesn't work well when doing ajax reloads.

As a WorkAround, you can try the custom codes in below thread:
https://toolset.com/forums/topic/wpbakery-shortcodes-appearing-when-using-ajax-filtering-for-results/#post-1292959

You can try to put those custom codes into your theme file "functions.php".

#1560483

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.