Support » Plugin: Simple Share Buttons Adder » Possible to disable admin sidebar menu item?

  • Resolved yellowhousedesign

    (@yellowhousedesign)


    Is it possible to disable the new admin sidebar “Simple Share Buttons” menu item? It being available under “Settings” is sufficient.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor ShareThis

    (@sharethis)

    @yellowhousedesign I’m sorry the new admin menu link was supposed to make it easier to access your share button configuration. Is there a specific reason it is causing your site issues?

    I have a lot of custom post types and don’t feel like another sidebar menu item is necessary for a settings page, as it makes my already lengthy sidebar even longer.

    There’s no reason for it being in the sidebar, especially since it is already available under options. Share buttons are not something you need to edit every day, just set up once and maybe update a year later.

    At least make it an option to disable it from adding itself to the menu bar.

    For anyone needing to do this, just add this to your theme’s functions.php

    /*
     * Remove 'Simple Share Buttons' sidebar menu item
     */
    function custom_menu_page_removing() {
        remove_menu_page( 'simple-share-buttons-adder' );
    }
    add_action( 'admin_menu', 'custom_menu_page_removing' );
    • This reply was modified 5 days, 16 hours ago by  yellowhousedesign. Reason: code formatting
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.