Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove Dashboard?

  • Sorry if this has been addressed before, but I couldn’t find it after surfing the internet. Is there a way to hide the dashboard menu from the nav bar? I’m referring to the menu which then drops down to new post, manage posts, and manage comments. I want this removed because I have a multi-author site and I don’t want my authors to be able to reach the dashboard.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Profile photo of pcwriter
    pcwriter
    Participant

    @pcwriter

    @gregw89

    The next version of the plugin will include this among a few other new features (release will coincide with the release of BP1.3).

    For now though, you can add the following to your theme’s functions.php file or your bp-custom.php file:

    `remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_thisblog_menu’, 6 );`

    I’ve tried both suggestions, of which neither worked. When I insert the code into my bp-custom.php file, it does absolutely nothing. When I insert it into my themes functions.php file, I get the message at the top of my site:

    TDOMF ERROR: Headers have already been sent in file /home7/startyo5/public_html/theoryzone/wp-content/themes/aligned/functions.php on line 8 before session_start() could be called. This may be due to…

    * Your current wordpress theme inserting HTML before calling the template tag “get_header”. This may be as simple as a blank new line. You can confirm this by using the default or classic WordPress theme and seeing if this error appears. You can also check your theme where it calls “get_header”.

    Do you know why this is or if I’m doing something wrong?

    Profile photo of pcwriter
    pcwriter
    Participant

    @pcwriter

    @gregw89

    1 – Make sure there is no blank line at the beginning of functions.php
    2 – The code must be added after the opening “ tag.

    Thanks, it worked.

    Profile photo of pcwriter
    pcwriter
    Participant

    @pcwriter

    Great!

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

You must be logged in to reply to this topic.