Do not display description in categories listing

hi, I would like not to display the categories description in the listing preview. see screenshots

i tried to insert the shipped php but i can’t

add_filter(
 'hivepress/v1/templates/listing_category_view_block', 
 function($template){
  hivepress()->template->fetch_block($template, 'listing_category_description');

  return $template;
 }, 
 1000, 
 2
);

Please try this CSS snippet:

.hp-listing-category--view-block .hp-listing-category__description {display:none}

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