Navigation überspringen

[Geschlossen] Brizy Templates and Views query

This support ticket is created vor 2 Monaten, 4 Wochen. 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.

Dieses Thema enthält 1 Antwort, hat 1 Stimme.

Zuletzt aktualisiert von Christopher Amirian vor 2 Monaten, 3 Wochen.

Assistiert von: Christopher Amirian.

Author
Artikel
#2794802

Hi, I have a Toolset View with a query to retrieve all WooCommerce products.

When I use this Toolset View shortcode on a regular page or post, it works fine. However, if I use it into a Brizy Template assigned to all posts of a taxonomy (also created with Toolset), I get a blank page with an infinite loop.

Any idea why? Thanks.

#2795023

Christopher Amirian
Unterstützer

Sprachen: Englisch (English )

Hi, welcome to Toolset support.

It might be either an infinite loop problem or a compatibility issue with Brizy.

If the Brizy template is assigned to all posts within a taxonomy and contains a Toolset View retrieving all WooCommerce products, the template might be recursively calling itself.
Check if the View is set to query the same taxonomy as the template. If so, try adding a query filter to exclude the current post/taxonomy.

Also try this method:

Instead of placing the View shortcode directly into the Brizy template, try embedding it inside a Toolset Content Template first, then add the Content Template inside the Brizy template.

If none of the methods above work, then you will need to avoid adding view inside the Brizy template and use Toolset content templates instead.

Thanks.

Das Thema „[Geschlossen] Brizy Templates and Views query“ ist für neue Antworten geschlossen.