• Resolved mattbaehr

    (@mattbaehr)


    I need to create a site within a site. So I created a secondary header2.php for the second section. The header2.php needs to list a separate set of pages as the main nav bar than header.php. I assume the best way to create the separate nav in header2.php is to use the php include tag on a secondary page template. Does that sound right?

    I know there are some page exclude plugins, but how can I exclude pages from two different header.php files on the same site?

    Thanks.

Viewing 1 replies (of 1 total)
  • Thread Starter mattbaehr

    (@mattbaehr)

    Nevermind. I figured it out. I just need to use the exclude part of the wp_list_pages tag in each of the header files. Duh. Sometimes it just helps to write it out to get the thought process started.

Viewing 1 replies (of 1 total)
  • The topic ‘Need php include() Help for Nav Bar’ is closed to new replies.