Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyMenu Shortcode


  • antpowerWD
    Participant

    @antpowerwd

    Hi

    Quick One!

    I cannot get the BuddyMenu Shortcode to output on the relevant BuddyPress pages, activity, members etc….If I output it on any non BuddyPress page it outputs. Nothing I enter into the BuddyPress pages gets outputted.

    I can’t understand why the menu isn’t there in core anyway and when you try and get get it to output it won’t. Do I have to rewrite a custom template just for this small functionality which I can’t understand at all why it doesn’t exist in core as it is essential for the user.

    This is my first time using BuddyPress and honestly it is very good, but simple oversights like this put me off using it again.

    Can someone tell me why the menu isn’t loaded into core and why outputting it is not possible from the PageAdmin area.

    The whole thing is a bit archaic and unwieldy.

Viewing 5 replies - 1 through 5 (of 5 total)

  • antpowerWD
    Participant

    @antpowerwd

    Sorry I do appreciate your hard work and open source offering.

    But could do with a fix for this!!!!Ya know how it gets sometimes!!!!


    antpowerWD
    Participant

    @antpowerwd

    Can someone answer this…?


    bp-help
    Participant

    @bphelp


    antpowerWD
    Participant

    @antpowerwd

    Thanks appreciate that! I have output, however I have it on all pages on the members area, when I only want on the BuddyPress pages. Is there a conditional I can wrap the wpnavmenu function in page.php that says only output this on buddypress pages?

    Should i use is_page, write a switch to list through all the pages for buddypress or is there something better?

    Thanks again!

    Ant


    antpowerWD
    Participant

    @antpowerwd

    <?php if (is_page(‘activity’) || is_page(‘members’) || is_page(‘groups’)){ ?>
    <div class=”access”>
    <?php wp_nav_menu(); ?>
    </div>
    <?php } ?>

    That did the trick.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘BuddyMenu Shortcode’ is closed to new replies.
Skip to toolbar