This topic has 5 replies, 2 voices, and was last updated 7 years by Radu.

  • Author
  • #131640
     clubmasterminds
    Participant

    Is there a way to remove Forums, Messages, Notifications from buddypress area?

    #131689
     Radu
    Moderator

    Hi,

    Add this css to wp-admin -> theme options – general settings -> quick css

    COPY CODE
    
    li#forums-personal-li, li#messages-personal-li ,li#notifications-personal-li {
        display: none;
    }
    

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #131698
     clubmasterminds
    Participant

    Awesome!

    What about on the drop down area?

    Attachments:
    You must be logged in to view attached files.
    #131779
     Radu
    Moderator

    Hi,

    Add this function to wp-content/themes/kleo-child/functions.php

    COPY CODE
    
    function add_custom_css_for_logo(){
        echo "<style>\n";
        echo '
    li#wp-admin-bar-my-account-notifications, li#wp-admin-bar-my-account-forums, li#wp-admin-bar-my-account-messages { display:none; }
    
    ';
        echo "\n</style>";
    }
    add_action( 'admin_print_styles', 'add_custom_css_for_logo' ,90);
    

    Note : Child theme needs to be installed and activated

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #132849
     clubmasterminds
    Participant

    That didn’t work either. It just left this:

    li#wp-admin-bar-my-account-notifications, li#wp-admin-bar-my-account-forums, li#wp-admin-bar-my-account-messages { display:none; }

    on my Dashboard area. Never had that happen. Did I do something wrong there?

    #132995
     Radu
    Moderator

    Do you have child theme installed and activated ? Do you have pasted the entire code that i gave to you including the add_action line ?

    If yes, and it not works provide ftp and wp admin credentials

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?