About Sridhar Katakam
I am an independent WordPress web consultant with 10 years of experience in WordPress theme installation, customization, administration, maintenance, support, documentation, troubleshooting and PSD/design to WP.
Genesis and WordPress Tutorials
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.
Great advice on the site here.
How would I remove the titles from ALL the pages and posts.
Thanks.
@ Ed… you need to remove line 9. that will remove titles from all pages.
add_action( 'genesis_header', 'sk_remove_page_titles' );
/**
* Remove Page Titles for specific Pages.
*
* @author Sridhar Katakam
* @link http://www.sridharkatakam.com/remove-page-titles-selectively-centric-pro/
*/
function sk_remove_page_titles() {
if ( ! is_page( $pages ) ) {
return;
}
remove_action( 'genesis_after_header', 'centric_open_post_title', 1 );
remove_action( 'genesis_after_header', 'genesis_do_post_title', 2 );
remove_action( 'genesis_after_header', 'centric_close_post_title', 3 );
}