Remove Archive Title on all the Archive Pages in Genesis

Here’s how you can remove all the archive titles that appear at the header of various archive pages in your Genesis Theme, you can either remove all of them or selectively choose which one…

<?php //<~ Remove me
//Removes Title and Description on CPT Archive
remove_action( 'genesis_before_loop', 'genesis_do_cpt_archive_title_description' );
//Removes Title and Description on Blog Archive
remove_action( 'genesis_before_loop', 'genesis_do_posts_page_heading' );
//Removes Title and Description on Date Archive
remove_action( 'genesis_before_loop', 'genesis_do_date_archive_title' );
//Removes Title and Description on Archive, Taxonomy, Category, Tag
remove_action( 'genesis_before_loop', 'genesis_do_taxonomy_title_description', 15 );
//Removes Title and Description on Author Archive
remove_action( 'genesis_before_loop', 'genesis_do_author_title_description', 15 );
//Removes Title and Description on Blog Template Page
remove_action( 'genesis_before_loop', 'genesis_do_blog_template_heading' );

Add the code snippet to your functions.php file and all the archive titles will be removed – all these actions are initially loaded into the Genesis Framework at genesis/lib/structure/archive.php

10 Comments

  1. Yok on July 2, 2017 at 6:09 pm

    Hey Neil:

    I posted yesterday on a different article you authored. I employed this solution on a production site and it worked perfectly. Not certain why it wouldn’t work on the live site (when tested on the functions.php via sFTP). Perhaps there is a bug with the child theme.

    Thank you for sharing this solution with the community.

  2. Yok on July 2, 2017 at 12:03 am

    Hey Neil:

    I am trying to remove the Category name from appearing at the top of the blog-style Category (Archive) pages, and I input your suggested code above into the functions.php file but it did not work. The name of the category continues to appear at the top of the page (in an area I haven’t found the correct CSS to edit background color yet too)

    Am I missing something?

    Example can be found at https://sanooktiew.com/เที่ยวกำแพงเพชร/

    Thoughts?

  3. Sally on January 26, 2017 at 10:45 am

    Should this work if you are using a child theme such as Dynamik?

    • Neil Gowran on January 26, 2017 at 9:10 pm

      It should do, however I am not familiar with Dynamik

  4. Lizzie on November 2, 2016 at 5:31 am

    UPDATE TO MY EARLIER COMMENT:

    I just made a small donation to your site. You saved my sanity and I appreciate it!

    • Neil Gowran on November 2, 2016 at 5:49 am

      Thanks! Glad it worked out for you.

  5. Lizzie on November 2, 2016 at 5:19 am

    Thank you so much. My sanity has returned. I’d been trying to figure this out for 2 days. (Thank you, Google for having sense enough to put this article on the first page in the SERPs.)

    I’m creating my site on XAMPP for testing before going “live”. I’m going to “bookmark” this site for future reference.

    WOO HOO – I’m doing the happy dance!

  6. Bobette Kyle on May 24, 2016 at 1:05 pm

    Thank you for this. I had a pesky double title when using Genesis in combination with Woocommerce, couldn’t get rid of it. This worked!

  7. Ben on May 16, 2016 at 11:17 am

    Is it working with woocommerce tag and categories ?

    Thanks a lot !

    • Neil Gowran on May 16, 2016 at 11:27 am

      No,tutorial is on Genesis hooks, not WooCommerce hooks

Leave a Comment





%d bloggers like this: