• Hey All. I know there has to be a better way to write this code but I can’t figure out where to put the ‘!’ on the if statement. Any help?

    <?php if ($my_query->is_page('cover') || $my_query->is_page('music')) { } else {?>
    
    				<h1><?php the_title();?></h1>
    			<?php } ?>
  • The topic ‘is not page in custom query’ is closed to new replies.