Forums

Any way to get rid of QuickPress in Admin page? (2 posts)

  1. compL33Tazn
    Member
    Posted 2 years ago #

    I'd like to get rid of QuickPress because I installed a plugin which restricts certain users to only post in a particular category, but QuickPress bypasses the plugin.

  2. figaro
    Member
    Posted 2 years ago #

    Open wp-admin/includes/dashboard.php in a text editor. Find the following code starting around line 51.

    // QuickPress Widget
    	if ( current_user_can('edit_posts') )
    		wp_add_dashboard_widget( 'dashboard_quick_press', __( 'QuickPress' ), 'wp_dashboard_quick_press' );

    Comment out the code after the if by adding // so it looks like this:

    // QuickPress Widget
    	if ( current_user_can('edit_posts') )
    	//	wp_add_dashboard_widget( 'dashboard_quick_press', __( 'QuickPress' ), 'wp_dashboard_quick_press' );

Topic Closed

This topic has been closed to new replies.

About this Topic