SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Oct 2010
    Location
    Portland, Or
    Posts
    813
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    can i have more than one header.php & if so

    how can I swithc them them about. so page 1 & 2 will have one type of header,
    but page 3 >6 will have a diff one?
    thx
    D

  2. #2
    SitePoint Wizard
    Join Date
    Oct 2005
    Posts
    1,857
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by pdxSherpa View Post
    how can I swithc them them about. so page 1 & 2 will have one type of header,
    but page 3 >6 will have a diff one?
    thx
    D
    You can create custom page templates then assign each page you create to a specific template. Within each of the different templates, you will include in parts of the Wordpress page you need. For template one, the header will include the header file you wish to use for that template. For template two, you include in another header file you wish to use that you created.

    http://codex.wordpress.org/Page_Templates

    Read through that and you will get the idea.

  3. #3
    SitePoint Guru
    Join Date
    Oct 2010
    Location
    Portland, Or
    Posts
    813
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thank you! I thought you could only have one header & one footer. k.
    there goes my evening!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •