WordPress Subscriber Registration

One Free & Easy Way To Authenticate & Register Users as subscribers For WP


  1. Download WordPress Social Login By https://oneall.com
  2. Go to WordPress Dashboard and Social Login Settings page.
  3. If new then register your new oneall account and follow up.
  4. For redirecting and hiding the wp-admin / Dashboard page paste the below code to your functions.php

/**
* Disable admin bar on the frontend of your website
* for subscribers.
*/

function themeblvd_disable_admin_bar() {
if( ! current_user_can('edit_posts') )
add_filter('show_admin_bar', '__return_false');
}
add_action( 'after_setup_theme', 'themeblvd_disable_admin_bar' );

/**
* Redirect back to homepage and not allow access to
* WP admin for Subscribers.
*/

function themeblvd_redirect_admin(){
if ( ! current_user_can( 'edit_posts' ) ){
wp_redirect( site_url() );
exit;
}
}
add_action( 'admin_init', 'themeblvd_redirect_admin' );