WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve
[resolved] Does the header have to be on every page? (3 posts)

  1. RVH
    Member
    Posted 1 year ago #

    Does the header have to be on every page or is there a way to have it only appear on my (static) home page?

  2. alchymyth
    Forum Moderator
    Posted 1 year ago #

    depending on what you define as 'header' you can use a conditional statement in header.php to show only part of it on the front page;

    http://codex.wordpress.org/Conditional_Tags

    before starting with customisations, create a child theme to work with - do not edit the default theme Twenty Twelve directly.
    http://codex.wordpress.org/Child_Themes

  3. RVH
    Member
    Posted 1 year ago #

    Excellent, thanks "is_front_page()" is what I need.

    Already using child theme (the plug-in "One Click Child Theme" is fantastic)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags