Under certain circumstances, you might have the need to remove the Genesis Page Title from your posts, pages or both. The WP Snippets below cover several methods in which you can remove page titles from Genesis themes.
Requirements
- StudioPress child theme & Genesis Framework
- Access to functions.php file
- Ability to FTP to your website should you make a mistake and need to roll-back your changes
WP Snippets
/** Remove page titles site wide (posts & pages) */
remove_action('genesis_post_title', 'genesis_do_post_title');
/** Remove page title for a specific page */
/** Change '28' to your page id */
add_action( 'get_header', 'child_remove_page_titles' );
function child_remove_page_titles() {
if ( is_page( 28 ) ) {
remove_action( 'genesis_post_title', 'genesis_do_post_title' );
}
}
/** Remove page title for multiple pages */
/** Change '3645' and '4953' to match your needs */
add_action('get_header', 'child_remove_page_titles');
function child_remove_page_titles() {
$pages = array( 3645,4953 );
if ( is_page($pages) ) {
remove_action( 'genesis_post_title', 'genesis_do_post_title' );
}
}
/** Remove page titles from all single posts & pages */
add_action( 'get_header', 'child_remove_titles' );
function child_remove_titles() {
if ( is_singular() ){
remove_action( 'genesis_post_title', 'genesis_do_post_title' );
}
}
/** Remove page titles from specific posts */
add_action('get_header', 'child_remove_post_titles');
function child_remove_post_titles() {
$pages = array( 4953,4648 );
if ( is_single( $pages ) ) {
remove_action( 'genesis_post_title', 'genesis_do_post_title' );
}
}
Instructions
Copy the specific snippet of code above that fits your needs and paste it into your child theme’s functions.php file anywhere below:
require_once( get_template_directory() . '/lib/init.php' );



awesome thank you!!
Thank you so much for this post. You can’t imagine how much time I spent looking for this simple trick in the forums. It’s probably there but I didn’t find it.
I have to say this site has is a fantastic resource. Thank you!
– bookmarked.
Hey Bill,
Thanks for the kind words. I’m happy to hear that I was able to provide a coding solution for the Genesis Framework that you could use on your website.
-rd
Thank you for posting this!!! I used the first snippet and my site is looking better. What I really want though is to remove all page titles but keep the post titles. Is there a snippet that will do that?
Thanks again for your help!!
Kirsten
I’ve not written a snippet to do that yet. I’m sure someone out there has done it.
-rd