Remove Header from Single.php
-
Hi guys,
A semi-newb question I guess, I’m on a time limit.
I’m trying to remove the header and navigation from the single.php page.
~I tried commenting out the header at the top of single.php
<!--<?php get_header(); ?>-->
What has this done? (nothing that I can see)
~So I start editing header.php:
<?php if( !is_page('<strong>single</strong>') ) { ?> <div> This is all my header stuff, logo, navigation etc.</div> <?php } ?>
By using the is_page() function I don’t know how to identify which page is which.
What ID is single.php (where can i find it)?
Can single.php resolve to a range of ID values dependable upon the data it is reflecting?Thanks in advance,
Smithy.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Remove Header from Single.php’ is closed to new replies.