Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddypress Pages sub nav


  • roadblock
    Participant

    @roadblock

    Added a sub nav which works fine on all the pages except the Buddypress pages. On all Buddypress pages it just shows the same items as on the normal nav (home, about ect..)

    This is what I did to add the Sub navs:

    php – open tag
    if($post->post_parent)
    $children = wp_list_pages(“sort_column=menu_order&depth=1&title_li=&child_of=”.$post->post_parent.”&echo=0″); else
    $children = wp_list_pages(“sort_column=menu_order&depth=1&title_li=&child_of=”.$post->ID.”&echo=0″);
    if ($children) { ?>
    php-open echo $children; ? >
    php-open } ? >

    I have a “Community” Item in my nav like on buddypress.org. I would like to have the same items in the sub nav as on buddypress.org (Activity, Members, Groups and maybe even forums).

    Can anyone point me in the right direction?

Viewing 1 replies (of 1 total)

  • roadblock
    Participant

    @roadblock

    Well after spending much of the day on this I got it.. I Have never used templates before in WordPress. Turns out I just had to make a template with the code for the page I wanted in it. Pretty easy once I figured out what I had to do…

Viewing 1 replies (of 1 total)
  • The topic ‘Buddypress Pages sub nav’ is closed to new replies.
Skip to toolbar