Add Title and description to the default Listings page

Hello!

I want to add H1 title and description to the main listing category page:

I tried with a template and set title and description but then every categorysite had this description. How can I add only to this site?

Thanks lot!
Br, Markus

Hi,

Please try this code snippet if you want to add a custom title and description to the Listings page, excluding the category and search pages:

add_filter(
 'hivepress/v1/templates/listings_view_page/blocks',
 function ( $blocks ) {

  if ( is_page() ) {

   $blocks = hivepress()->template->merge_blocks(
    $blocks,
    array(
     'page_content' => array(
      'blocks' => array(
       'heading' => array(
        'type'    => 'content',
        'content' => '<h1>Test</h1><p>Test</p>',
        '_order'  => 1,
       ),
      ),
     ),
    )
   );
  }

  return $blocks;
 },
 1000
);