Viewing 7 posts - 1 through 7 (of 7 total)
  • Question

    #41261
    @style960

    How can I restore the default WP Toolbar so I can decide who has access to which functions?

    I did find this earlier post but it’s not what I was looking for – https://www.buddyboss.com/support-forums/topic/going-back-to-default-wp-admin-menu/

    Thanks,
    Paul.

    Answers

    #41268

    Alyssa
    Participant
    @alyssa-buddyboss

    @style960 I think this is the setting you want: Dashboard>Customize>WP Toolbar>Fixed
    We only style to toolbar, we do not prevent adding those access constraints.

    #41270
    @style960

    @tjchester That’s odd – all toolbar links return when I switch to Twenty Twelve? Specifically, the WordPress links and the Dashboard links are blocked for a Subscriber level user with Buddyboss enabled. Not saying I’d want to use those, but BB is blocking some toolbar functionality.

    #41281

    Alyssa
    Participant
    @alyssa-buddyboss

    @style960 can you post images. My dev server is not removing any links. Do you have anything added to functions.php that might be causing it? What about using the parent theme…same results?

    #41300
    @style960

    @tjchester See attached image. I’ve always seen this when using Buddyboss, but now I’d like to find a way around it. Vanilla install, no plugins, screenshot taken with parent theme activated.

    #41303

    Alyssa
    Participant
    @alyssa-buddyboss

    @style960 I think this is what you need:
    remove_action( 'wp_before_admin_bar_render', 'remove_admin_bar_links' );
    Line 965 of theme-functions.php
    Might need to put it in a function with add_action init

    #41321
    @style960

    Ok, thanks.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The question ‘Toolbar Defaults’ is closed to new replies.