Remove Page Titles in Studio Press Themes

How to Remove Page Titles

via:  http://dev.studiopress.com/remove-page-titles.htm

WRITTEN BY JOHN WRIGHT

If you would like to remove the automatically inserted page titles all you need to do is add one snippet of code.

Open up the functions.php file in your child theme and add the following code. The code should be entered at the end of the file, just before the closing ?> if there is one.

add_action( ‘get_header’, ‘child_remove_page_titles’ );

/**

* Remove page titles from all pages except blog page template.

*

* @author John Wright

* @link http://dev.studiopress.com/remove-page-titles.htm

*/

function child_remove_page_titles() {

if ( is_page() && ! is_page_template( ‘page_blog.php’ ) )

remove_action( ‘genesis_post_title’, ‘genesis_do_post_title’ );

}

 

Related posts:

kwout – quote embed images from any web page

This little tip I stumbled upon will make your life a lot easier!  I inserted the below image above with the links using kwout So easy!!

 

kwout | A brilliant way to quote

Related posts: