Frontend view of normal Visitor

When you use chrome, you can open an incognito tab and view the website without being logged in (or logged in as another user) while staying logged in in your other ‘non-incognito’ tab. With firefox: open a private window (using private browsing) With internet explorer: Use InPrivate-navigation

translate_user_role doesn’t work

Please note that translate_user_role doesn’t work in the front-end currently. Here is a workaround, you can place this in your theme: add_action( ‘init’, ‘load_admin_textdomain_in_front’ ) function load_admin_textdomain_in_front() { if ( ! is_admin() ) { load_textdomain( ‘default’, WP_LANG_DIR . ‘/admin-‘ . get_locale() . ‘.mo’ ); } }

List users of specific role instead of removing them with specific role

To fetch users from a specific role, you can use the role parameter of the get_users function. Each role has a specific ID; for WordPress’ native roles, these are administrator, editor, author, contributor and subscriber. In your case, you would want to fetch only subscriber users: $allUsers = get_users( array( ‘orderby’ => ‘post_count’, ‘order’ => … Read more

How to update user role totals

You’ll also need to export the old site’s options table which is usually called wp_options and import it to new one. Cause in the options table aka wp_options table there is a row field called wp_user_roles and it holds the role values of the site.