WordPress.org

Support

Support » Plugins and Hacks » [Resolved] navigation with subpages

[Resolved] navigation with subpages

  • I want to display a navigation bar on my website, where if it is on the front page it displays the parent pages. I have gotten that far.

    `if (is_front_page()) {
    wp_list_pages(‘title_li=&depth=1&exclude=12’);
    }
    else {

    Example Pages:
    – Home
    -About
    –History (subpage of About)
    –Our Founder (subpage of About)
    -Services
    -Portfolio

    When I go to click on About it only will display the subpages, I need it to display the parent pages.

    An example is: http://www.neu.edu/humanities

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] navigation with subpages’ is closed to new replies.