Skip Navigation

[Resolved] How to integrate custom taxonomy archives similar to default archives styling

This support ticket is created 2 years, 5 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 9 replies, has 2 voices.

Last updated by Minesh 2 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#2530329

Tell us what you are trying to do?

This ticket is for Minesh as we discussed.

------------------

I am trying to design the custom taxonomy archives. Please watch this 3-4 min screen recording to understand the context.

Screen recording link - hidden link

I want to push that layout created for (categories and tags) to custom taxonomies created by toolset.

#2530389

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Toolset has limited integration with WP Bakery page builder. Here is the Doc:
=> https://toolset.com/course-lesson/using-toolset-with-wpbakery-page-builder/

You can not mix WP-Bakery elements while using blocks. As the layouts are coming from the theme - I'm not sure if it will have impact on wp-bakery elements you add.

I need to check if its possible but for that either I'll require admin access details or your theme copy. Have you added WP-Bakery page builder plugin? or
if you want I can setup a sandbox site where you can install your theme and required plugins and I will check there.

#2530427

The WPbakery comes with a theme bundle.

Okay. Please create a sandbox site for me and I will be able to upload the the theme and associated plugins with it.

#2530755

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Here is the sandbox site and you can auto-login to it using the following link:
=> hidden link

Please setup a test case with all required post type, taxonomies, content and please update us when you done and what layout you are looking to build.

#2531227

Hello,

I have created a new layout here - hidden link

Go to the above link and you will see the layout of the name > "Taxonomy layout"

The layout throws the template created on all categories, tags, and attribute archives.

For example - hidden link

I want the same template to be applied on any custom taxonomy I create with toolset.

You have the ability to copy the code of the layout by clicking on >> Edit >> classic editor>> copy code. But where should I paste this code in Toolset >> wordpress archives to make it work. That we need to find out.

I have created the taxonomy "Books" with toolset but this tempalte is not geting fired there.

#2531897

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

The theme WoodMart layout support is for only WooCommerce related entities like products/product categories.

There is no official integration with Toolset and Woodmart theme. However - if you still want to build the taxonomy archive loop with "WP Page Builder" then you will have to first go :
=> Toolset => Settings =>"Editor to use for WordPress Archives" => Select the "Classic Editor"

Then you should go to: Toolset => WordPress Archives => Add new archive and set it to query your desired taxonomy
=> hidden link

Then use the loop wizard and add post title and finish the loop wizard and you will see the loop content template added just below the "Loop Editor" section.

With this loop template you will see that there is a button available "WPBakery page builder" and you can use that to build your loop output using "WPBakery page builder".

Other than this I do not have anything to offer or you may check with WoodMart theme support and check with them if they have any hook to apply the layout you created to your desired taxonomy archive.

#2532181

I have already tried that. But there is some bug in toolset plugin.

You may visit the link - hidden link

Try to create any content with "WpBakery", you will see nothing happens and there is a blank string "#" in the URL.

#2532685

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please check now: hidden link

That issue is because of the following known issue:
- https://toolset.com/errata/can-no-longer-edit-content-templates-with-wp-bakery-page-builder/

Once I applied the patch given with the above errata link - I can see the WP Bakerypage builder works as expected.

#2533147

Okay.

1) I created the new wordpress archive for "books" - hidden link

2) and then I created a content template - "books layout 3" - hidden link

3 ) Then I added the HTML block ([html_block id="7078"])design to the Wpbakery editor on "books layout 3" - hidden link

4) But seems like no products or no content is loading on archive page - hidden link

#2533539

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

It seems simply you are not getting how it works.

We obviously do not recommend to combine two thing here. I suggest either you should go with the Layout that is offered by your theme and contact your theme support about how to hook the custom archive based on that layout or go with Toolset archive.

As even after wasting this much time with new release there will be great possibility that there will be conflict as there is no official integration with that theme and addon plugin.

Layout is different thig and loop is different thing here. Within the archive loop you should add the products content that you want to list one by one and outside the archive you should add something for example left panel.

Here are the official steps about how you can create archive using Toolset:
=> https://toolset.com/course-lesson/creating-a-custom-archive-page/
=> https://toolset.com/lesson-placement/lesson-placements-1824665-1622285/

This is simply something that should be known by the theme support as we do not know how the theme addon works under the hood. As shared before the layout seems to be exclusively used for WooCommerce entities but you can simply check with your theme-addon author.