Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Smithy963

    (@smithy963)

    Is there such a thing as ‘high five’ or ‘mark as correct answer’ on this site?

    EDIT: This topic is resolved (drop down list on the right, midway up the page).

    Thread Starter Smithy963

    (@smithy963)

    Spot on my friend, thank you very much.

    I put my get_header() back into single.php, and added in this line of code to remove the header/navigation from the single page only:

    header.php:

    <?php if( !is_single() ) { ?>
    	<div id="header">
    	</div><!-- header -->
    
    	<div id="navigation">
    	</div><!-- navigation -->
    <?php } ?>

    This means the header and navigation will only show when the page is not single.php

    I have other pages on my site (other than the homepage) which require the header and navigation menu and all my single posts are launched into a new child window which does not require the header/navigation.

    Thanks again for the speedy reply,
    Smithy.

Viewing 2 replies - 1 through 2 (of 2 total)