• Resolved hupe13

    (@hupe13)


    Is it possible to remove the menu item “Managing comments” (“Kommentare verwalten”), if comments are disabled on the website?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Frank Bueltge

    (@bueltge)

    Yes, but not with that plugin, is no focus on this plugin topic. It gives several plugins to remove comments in each context, maybe also from my side that you will find here https://github.com/bueltge/remove-comments-absolutely

    Thread Starter hupe13

    (@hupe13)

    I’m using a plugin to remove all about comments.
    This disables the display of the item “Managing comments” in “My Websites”:

    function admin_no_display_comments () {
       echo "<style>
            #wpadminbar li[id$='-comments']{
        	display: none;
            }</style>";
    }
    add_action( 'admin_enqueue_scripts', 'admin_no_display_comments' );
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Comments’ is closed to new replies.