Hi,
Where to find the two templates listing_region and listing_tag?
I wish modify them, but I don’t find them.
Tnx
Federico
Hi,
Where to find the two templates listing_region and listing_tag?
I wish modify them, but I don’t find them.
Tnx
Federico
If you mean a categories page for listing regions or tags then, please try this PHP snippet
add_filter(
'hivepress/v1/templates/listings_view_page',
function( $template ) {
// Listing tags term page.
if(is_tax('hp_listing_tags')){
// your code here.
}
// Listing regions term page.
if(is_tax('hp_listing_region')){
// your code here.
}
return $template;
},
1000
);
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.