When you are dealing with custom login and registration process in wordpress then you want that the simple user should not access the WordPress admin session . This process can be done with a simple function . what you need to do is modify your function.php  and place the following code into this file .

add_action( 'init', 'blockusers_init' );

function blockusers_init() {
 if ( is_admin() && ! current_user_can( 'administrator' ) && 
 ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
 wp_redirect( home_url() );
 exit;
 }
}
dev smithcmsWordPresswordpressWhen you are dealing with custom login and registration process in wordpress then you want that the simple user should not access the WordPress admin session . This process can be done with a simple function . what you need to do is modify your function.php  and place the...coding, php, wordpress, yii, cakephp, and  jquery

Are you want to get implementation help, or modify or extend the functionality of this script? Submit paid service request