Skip Navigation

[Closed] Brizy Templates and Views query

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.

This topic contains 1 reply, has 1 voice.

Last updated by Christopher Amirian 2 weeks, 6 days ago.

Assisted by: Christopher Amirian.

Author
Posts
#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
Supporter

Languages: English (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.

The topic ‘[Closed] Brizy Templates and Views query’ is closed to new replies.