Support Forum

Content of the article

You need to log-in to create request (topic) to the support

(Dynamic) Custom Tax Lable?

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see green button on the right side) and press Save button.
If you not got email within 24 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.


As a developer, I'm working for a customer that wishes to have the category filter name (custom_tax_label) changing when a sub-category has been filtered.

How would one implement a dynamic prefixed title to the existing taxonomy label title?

Following is an example describing what the customer wishes:


E.g. product category structure:

Root-Category: A
 - Sub-category: AA
 - Sub-category: AB
 - ...

Root-Category: B
 - Sub-category: BA
 - Sub-category: BB
- ...

E.g. if sub-category AB is filtered:

Category Filter:

A_name + custom_tax_label
 - AA
 - AB
 - ...

E.g. if sub-category BA is filtered:

Category Filter:

B_name + custom_tax_label
 - BA
 - BB
 - ...

This would make the title of the category widget become tailored to specific sub-categories, and very useful when activating "Hide empty terms".

Is there by any chance an existing Filter Hook I can use to implement the logic described above?


Unfortunately the plugin does not have such a hook.

If you want to do this without changing the plugin code - you need JS customization