I'm trying to remove my page title from all but 1 page.
I started using the code I got off myStudioPress
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
That takes it off every page - which was good until I realized it took the blog titles off my blog landing page.
So then I tried this:
if (!is_page(151) ) : remove_action( 'genesis_entry_header', 'genesis_do_post_title' ); endif;
However, no dice. It still strips out my blog titles.
Genesis Title Toggle plugin - gives you a checkbox on each post/page to hide or show the title. You can also turn off all page titles (but not blog post titles) globally in the Genesis theme settings, then turn the title back on for the one page you want to show it on.
Brad Dalton has written 1961 Genesis tutorials & 4000+ Code Snippets .
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!