Concatenating parent category name to subcategory title
-
Hi. Is there a way to join parent category name with sub-category title on sub-category page? Without manually changing sub-category name.
I.e.
parent category name: cars
sub-category name: blue
old sub-category page title: blue
new sub-category page title: blue carsI used the plugin interface but I don’t think it can be done there.
I found a filter(add_product_listing_name) which can be used to manipulate category titles, but I have not found a way to get parent category or other needed data. Is something like shown in the example above possible?
- The topic ‘Concatenating parent category name to subcategory title’ is closed to new replies.