Different templates for All listings and Category

I am using ListingHive and created a custom template for listings with a ‘title heading’. above the listings. However, when I click on a specific category, it uses the same template, but above it a category image is displayed, showing the category title. So in such cases it does not make sense to show my ‘custom title’.

How can I use a different template when showing a category listing (ex: domain.com/listing-category/category ) as opposed to all listings or search results.

If this is not possible, can you please help me with not showing this title-heading when a category is being displayed?

This is the ‘heading-title’ code that I don’t want to show on the category listing:

<h3 class="kt-adv-heading184_23081f-e4 wp-block-kadence-advancedheading kt-adv-heading-has-icon" data-kb-block="kb-adv-heading184_23081f-e4"><span class="kb-adv-text-inner">Page Title</span></h3>

Thank you for your help!

Hi,

There is no such feature, it would require a custom implementation. But as a workaround, try using a CSS snippet to hide the title:

body:not(.tax-hp_listing_category) .wp-block-kadence-advancedheading {display:none!important}

​I hope this is helpful to you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.