Skip Navigation

[Resolved] Woocommerce Archive Page with Site title area coming from Divi

This thread is resolved. Here is a description of the problem and solution.

Problem:

The problem is that i need an specific page for some additional taxonomies (Manufacturer, target-group) wich are added to Woocommerce products beneath the standard taxonomies product categories and tags.

So i need for my both additional taxonomies a own taxonomy pag, without "destroying" it for the normal template pages?

Solution:

You can setup custom theme files for specific terms, see WordPress document:

https://developer.wordpress.org/themes/basics/template-hierarchy/#custom-taxonomies

taxonomy-{taxonomy}-{term}.php – If the taxonomy is sometax, and taxonomy’s term is someterm, WordPress will look for taxonomy-sometax-someterm.php.

Relevant Documentation:

https://developer.wordpress.org/themes/basics/template-hierarchy/#custom-taxonomies

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 4 replies, has 2 voices.

Last updated by thomasB-2 1 year, 7 months ago.

Assigned support staff: Luo Yang.

Author
Posts
#1192215

We try to handle also product taxonomy pages in a unique way on the page. but we still get the header with the page title coming from Woocommerce, with Woocommerce Breadcrumb, Title, filter and so on.

How could we change these behaviour to get a more styled contentarea and use a special breadcrumb Plugin wich was used on all other pages of the site (also in the with divi created product template).

#1192320

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Hello,

It depends on your theme files and your "special breadcrumb Plugin", I suggest you create a custom theme file for product taxonomy pages, remove all "page title coming from Woocommerce, with Woocommerce Breadcrumb, Title, filter ", and display the "special breadcrumb Plugin", for example:

For example, you can create a file "taxonomy-product_cat.php" in your theme folder: /woocommerce/taxonomy-product_cat.php, and customize it to what you want. See Woocommerce document:
https://docs.woocommerce.com/document/template-structure/#section-1

#1201451

hi,
the problem is that i need an specific page for some additional taxonomies (Manufacturer, target-group) wich are added to Woocommerce products beneath the standard taxonomies product categories and tags.
So i need for my both additional taxonomies a own taxonomy pag, without "destroying" it for the normal template pages?

#1201535

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

You can setup custom theme files for specific terms, see WordPress document:
https://developer.wordpress.org/themes/basics/template-hierarchy/#custom-taxonomies
taxonomy-{taxonomy}-{term}.php – If the taxonomy is sometax, and taxonomy’s term is someterm, WordPress will look for taxonomy-sometax-someterm.php.

#1201639

My issue is resolved now. Thank you!

Tnx