Skip Navigation

[Résolu] Theme Shortcodes not rendering after Search Params changed

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 Il y a 4 années et 2 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par peterv-5 Il y a 4 années et 2 mois.

Assisté par: Luo Yang.

Auteur
Publications
#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:
lien caché
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!

Ce ticket est maintenant fermé. Si vous êtes un client de Toolset et que vous avez besoin d'aide, veuillez ouvrir un nouveau ticket d'assistance