• Please remove the admin bar links – I do not need this cluttering up every page on the backend.

    In the meantime this will do the trick:

    #wp-admin-bar-simpay-admin-bar-test-mode {display:none;}

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Spencer Finnell

    (@spencerfinnell)

    Hello @razorfrog,

    Thank you very much for the feedback/suggestion.

    While we believe the WP Simple Pay entry in the admin toolbar provides valuable information about the status of the plugin, as well as quick access to plugin features, I can certainly understand wanting to curate what is displayed.

    For the time being the CSS you have provided is a reasonable solution to hide the toolbar item and we will explore adding a plugin setting to more easily control the addition of the toolbar item.

    Thread Starter Razorfrog Web Design

    (@razorfrog)

    And if every plugin added a link to the Admin Bar? It would quickly run out of room. Please make it an option to enable/disable like Gravity Forms, for example.

    Plugin Author Spencer Finnell

    (@spencerfinnell)

    @razorfrog a very valid point. Another way to remove the admin bar item before we add the functionality directly in the plugin is to add the following custom plugin to your website:

    
    /**
     * Plugin Name: WP Simple Pay - Remove Admin Toolbar Item
     */
    add_action(
    	'admin_bar_menu',
    	function( $wp_admin_bar ) {
    		$wp_admin_bar->remove_node( 'simpay-admin-bar-test-mode' );
    	},
    	1000
    );
    

    https://www.wpbeginner.com/beginners-guide/beginners-guide-to-pasting-snippets-from-the-web-into-wordpress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Admin Bar links’ is closed to new replies.