Hi,
can you send me a link to one of the pages with this problem, so i can see how it looks like on-site?
Hi,
thanks, i am not exactly sure where the first term description render comes from (as it seems to show in a place where the title should be), but the second one is coming from WPAdverts, you can hide it by adding the code below in your theme functions.php file
add_filter( "adverts_tax_term_description", "__return_empty_string" );
thx so so much !
the first text comes from the WP category description. So it’s annoying because I don’t have a title for this page π I don’t know if it comes from my theme (Astra) but I have another problem: I cannot deactivate the avatar icon in the ads (even deactivated it appears)
-
This reply was modified 2 years, 1 month ago by
chinouk35.
Hi,
you should be able to get the title to show on the advert category pages by adding the below code in the theme functions.php file
add_filter( "astra_the_title", function( $title ) {
if( is_tax( 'advert_category' ) ) {
return esc_html( get_queried_object()->name );
} else {
return $title;
}
}, 10000 );