Remove title only one page
-
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( is_front_page() ) { ?> <h2 class="entry-title"><?php the_title(); ?></h2> <?php } else { ?> <h1 class="entry-title"><?php the_title(); ?></h1> <?php } ?>I want to edit the first if statement so that if the page is a specific page it will display nothing. I don’t know what to replace ( is_front_page () ) with to get it to do that.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Remove title only one page’ is closed to new replies.