Support » Plugins » Remove link to comments in dashboard for non-administrators

  • I use WordPress with children who are contributors on the blog. When they are logged in they can see unmoderated comments via their dashboards. Is there a way of removing the comment link in the dashboard for all but the administrator?

Viewing 4 replies - 1 through 4 (of 4 total)
  • do you mean removing it off both the admin menu and the dashboard? (so there is no link to comments at all)?

    I’ve hidden comments using screen options but want to remove the Comments menu item from contributors’ dashboards so that they can’t see unmoderated comments.

    from the “right now” box, correct?

    in your theme’s functions.php put the code located below:

    all you have to do then is change “ishkibbibble” to whatever username you want to have access to everything

    basically, what it does, is if the user isn’t the one defined, it removes the “right now” box, then creates a new one with all of the same information, excluding the “discussion” table.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove link to comments in dashboard for non-administrators’ is closed to new replies.