Reply To: Globally Remove Page Titles

Home Forums Support Globally Remove Page Titles Reply To: Globally Remove Page Titles

Lead Developer
Lead Developer

You can disable them globally, but then it’s a little bit harder to enable them only on certain pages.

Check out the filter here:

There’s no real way to make the Disable Elements option checked by default, so I’m not sure how I would work something like this in.

The best way to do it right now is in the filter I linked to, using a conditional like:

add_filter( 'generate_show_title', 'tu_alter_title' );
function tu_alter_title() { 
    if ( is_page( array(5, 7, 8, 20) ) ) {
        return true;
    } else 
        return false;

Where 5, 7, 8 and 20 are the page IDs where you want the title to show up.