Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forums Display Custom Menu


  • csivertsesg
    Participant

    @csivertsesg

    I want to display my “Forums” beneath a custom menu.

    In image #1 I have a custom menu, with a tab for my forum.

    Image #1

    When I click on a Forum, I’m taken to another URL, where I can no longer see the custom menu (see image #2)

    Image #2

    Is there a way to have the custom menu appear on every Forum, or another solution would be to have the forum open in a new tab?

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

  • Robin W
    Moderator

    @robin-w

    untested but add this to your functions file or use code snippets plugin

    add_action( 'bbp_template_before_forums_loop', 'rew_add_custom_menu'  ); 
    add_action( 'bbp_template_before_topics_loop'', 'rew_add_custom_menu'  ); 
    
    function rew_add_custom_menu () {
    echo 'your link here' ;
    
    }

    csivertsesg
    Participant

    @csivertsesg

    Thank you for your support Robin, unfortunately I didn’t have any success adding the functions (see image below)

    Functions Error

    If it’s not something that can be done, no worries, we will figure out an alternative.


    Robin W
    Moderator

    @robin-w

    try

    add_action( 'bbp_template_before_forums_loop', 'rew_add_custom_menu'  ); 
    add_action( 'bbp_template_before_topics_loop', 'rew_add_custom_menu'  ); 
    
    function rew_add_custom_menu () {
    echo '<a href= "https://bbpress.org/forums/">customs menu area</a>' ;
    
    }

    csivertsesg
    Participant

    @csivertsesg

    Thank you!

    I’ll have to hire someone technical to help me add the code to my website! This is way outside of typical support, so I appreciate all your help Robin!

    No need to reply, take care!


    Robin W
    Moderator

    @robin-w

    contact me via

    Contact me

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar