BuddyBoss Home – Web Support Forums Themes Boss. theme Add Dashboard link for Another Role

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

    #38955
    @ubrandon

    Hello! Is it possible to add the dashboard link for another role so they have access. I have a teachers role that can get to wp-admin but it would be nice if they could have that link in their menu. Thanks!

    Answers

    #39002

    Alyssa
    Participant
    @alyssa-buddyboss

    @ubrandon this is a WordPress issue, but you should be able to simply add the menu-item and add a custom class to it like teacher-menu then add something like this to custom.css

    .teacher-menu{display:none;}
    .[insert teacher rolse here] .teacher-menu{display:block;}

    To figure out the exact name of the role in WordPress you will need to inspect the HTML code of the body tag on your site for when a teacher is logged in, the role should be in the class section.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The question ‘Add Dashboard link for Another Role’ is closed to new replies.