Hide tabs in member page

This topic contains 3 replies, has 2 voices, and was last updated by  Olivier 2 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13148

    LeSchtroumpf
    Participant
    • 13 Posts
    @leschtroumpf

    Hi ,
    I’m using this plugin to add tabs in member page https://wordpress.org/support/plugin/bp-custom-menu/

    I would like to hide tabs in other profil because the tabs i want to use contain personnal information.

    There is a topic about this there but the snippet doesn’t work with Gwangi is activated.
    https://wordpress.org/support/topic/hide-tabs-in-other-profiles/

    For example, I added 3 tabs (A,B and C) and i try to hide only one (B). But when i click on the A tab, I’m receiving 404.

    The snippet :
    `function exclude_tab_if_not_personal_profile() {
    if ( ! bp_is_my_profile() ) {
    bp_core_remove_nav_item( ‘planning’ );
    }
    }
    add_action( ‘bp_init’, ‘exclude_tab_if_not_personal_profile’ );

    Can you help me ?

    #13189

    Olivier
    Moderator
    • 1758 Posts
    @themosaurusrex
    Themosaurus Support

    Hi @leschtroumpf,

    Thank you for your great feedback. 🙏

    Unfortunately, BP Custom Menu is not supported by our theme. I took the liberty to move your topic to the Feature Requests forum, in which we store and discuss integration or feature addition with our community.

    We will implement this feature if other community members grow interest for it and upvote your request.

    We’ll keep you informed. Thank you very much for contributing to your theme!

    Best regards,

    #13228

    LeSchtroumpf
    Participant
    • 13 Posts
    @leschtroumpf

    Hello,

    Yes I search any compatibility but i didn’t found.

    At this time, do you have a solution for me ? A workaround or an other free plugin ?

    Thanks,

    #13247

    Olivier
    Moderator
    • 1758 Posts
    @themosaurusrex
    Themosaurus Support

    @leschtroumpf Unfortunately, there is no solution that I could provide other than adding a better support for BP Custom Menu to our theme. And we will wait until other member show interest for this request.

    Maybe the BuddyPress User Profile Tabs Creator Pro plugin can help you with that: https://buddydev.com/plugins/buddypress-user-profile-tabs-creator-pro/

    However please note that this plugin is untested with our theme also so we can’t guarantee that everything will work as expected, even though we believe there shouldn’t be any issues.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.