How to reposition archive titles in Utility Pro

Posted on Leave a comment
5/5 - (120 votes)

In my tutorial requests Trello board a user asked,

I’m using Utility Pro from Carrie Dils. The template customization Im looking to do is actually pretty simple. I just want to make the archive title area full width with the sidebar (containing a list of the categories) and body below that. I’m assuming I need to add a category.php file in the child theme folder and customize that?

We can remove the archive titles hooked to their default location, genesis_before_loop in category / tag / taxonomy archives, author archives and Posts page in Utility Pro and hook them back to genesis_before_content.

Inside utility_pro_setup() in functions.php add

remove_action( 'genesis_before_loop', 'genesis_do_taxonomy_title_description', 15 );
add_action( 'genesis_before_content', 'genesis_do_taxonomy_title_description' );

remove_action( 'genesis_before_loop', 'genesis_do_posts_page_heading' );
add_action( 'genesis_before_content', 'genesis_do_posts_page_heading' );

remove_action( 'genesis_before_loop', 'genesis_do_author_title_description', 15 );
add_action( 'genesis_before_content', 'genesis_do_author_title_description' );
Leave a Reply

Your email address will not be published. Required fields are marked *