Blocking Administrative Access to Editor /Authors and Subcribers?

Use this if you want to completely block the access to the Admin panel: (copy the code to your functions.php theme file)* * Hide the admin bar in the front end */ add_filter(‘show_admin_bar’, ‘__return_false’); /* * Redirects Authors and Subscribers to the site front page using: get_home_url() */ add_action(‘admin_init’,’wpse_53675_block_users’); function wpse_53675_block_users() { if( current_user_can(‘author’) || …