Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddypress pages (forums, groups, members) assigned to a wordpress page as children


  • Simon Ainley
    Participant

    @simonainleydotinfo

    Hello,

    I have a navigation bar in my wordpress installation, on that navigation bar, I have various tabs and one of those tabs is ‘Member Content’ now member content is parent to various pages within my wordpress installation, I also want it to be parent to some of the buddypress pages. Basically I want Forums, Groups and Members to be in the ‘Member Content’ sub nav, and if the user is on the Forum for example I want the ‘Member content’ tab to active, much like it is for any other tab if that tab is the parent of the current page. The code I have so is as follows,

    `<?php
    if(!is_user_logged_in()) {
    wp_page_menu(‘show_home=1&exclude=214&exclude_tree=80’);
    } else {
    wp_page_menu(‘show_home=1&exclude=214’);
    }
    ?>`

  • The topic ‘Buddypress pages (forums, groups, members) assigned to a wordpress page as children’ is closed to new replies.
Skip to toolbar