Remove Archive Title & Description from Custom Post Type Archive in Genesis

Change Archive Title and Description of Custom Post Type Archive

At the head of a custom post type archive page is an archive title and description by default, the title will inherit the name of the custom post type, you can edit these values in the Archive Settings of the custom post type in the WP Admin Dashboard.

change-archive-title-description

 

Remove Archive Title and Description of Custom Post Type Archive

remove-archive-title-description

You can totally remove this markup by removing the genesis_do_cpt_archive_title_description function which is loaded in in /genesis/lib/structure/archive.php

Just remove the action in your themes functions.php file

//Removes Title and Description on CPT Archive
remove_action( 'genesis_before_loop', 'genesis_do_cpt_archive_title_description' );

Move more archive titles in Genesis with the help of this gist code.

Leave a Comment





%d bloggers like this: