Title: Simple Admin Role Switcher
Author: Ash Brentnall | ABCode
Published: <strong>October 18, 2024</strong>
Last modified: October 18, 2024

---

Search plugins

![](https://ps.w.org/simple-admin-role-switcher/assets/banner-772x250.png?rev=3171437)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/simple-admin-role-switcher/assets/icon-256x256.png?rev=3171418)

# Simple Admin Role Switcher

 By [Ash Brentnall | ABCode](https://profiles.wordpress.org/ashbrentnall/)

[Download](https://downloads.wordpress.org/plugin/simple-admin-role-switcher.1.0.zip)

 * [Details](https://wordpress.org/plugins/simple-admin-role-switcher/#description)
 * [Reviews](https://wordpress.org/plugins/simple-admin-role-switcher/#reviews)
 *  [Installation](https://wordpress.org/plugins/simple-admin-role-switcher/#installation)
 * [Development](https://wordpress.org/plugins/simple-admin-role-switcher/#developers)

 [Support](https://wordpress.org/support/plugin/simple-admin-role-switcher/)

## Description

Simple User Role Switcher allows administrators to seamlessly switch between different
user roles in WordPress to see how their site looks for each role. Ideal for WooCommerce
sites, membership sites, or any scenario where it’s important to test how content
and features appear to different roles.

This plugin simplifies the testing process by allowing quick switching between user
roles directly from the admin toolbar without logging out. It also supports viewing
the site as a guest user for better testing of logged-out experiences.

### Features

 * **View as Guest:** Easily switch to a guest user to see the experience of logged-
   out users without logging out of the site.
 * **View as Different User Roles:** Test the site as different roles, such as Subscribers,
   Customers, Editors, etc.
 * **Simple Switching:** Use the admin toolbar to switch roles quickly and revert
   to the original role easily.
 * **Compatibility:** Works with major plugins such as WooCommerce, BuddyPress, 
   and popular page builders.
 * **Admin Toolbar Integration:** Role switcher integrated directly into the admin
   toolbar for convenience.

### License

This plugin is licensed under GPL v2 or later. Contributions are welcome, and the
plugin remains open source to benefit the WordPress community.

### Privacy Statement

Simple User Role Switcher uses a temporary cookie to manage role switching for testing
purposes. This data is never shared with third parties. The cookie is cleared when
logging out or switching back to Administrator.

### Ethical Open Source

Simple User Role Switcher follows the principles of ethical open source. It respects
users’ privacy and does not collect any data. We believe in transparency and providing
tools that support developers and administrators while maintaining data safety.

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/simple-user-role-switcher` 
    directory or install the plugin via the WordPress plugin screen.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Use the “View as” option in the admin toolbar to switch between different user 
    roles.

## FAQ

### Does this plugin work with WordPress Multisite?

Currently, Simple User Role Switcher is designed for single-site installations only.

### Can I use this plugin with WooCommerce?

Yes, you can switch to customer or shop manager roles to see how your WooCommerce
store appears to these users.

### Does this plugin work with BuddyPress?

Yes, you can switch between member roles in BuddyPress to test different experiences.

### What user capability is required to switch roles?

Only users with the `edit_users` capability (typically administrators) can switch
roles.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Simple Admin Role Switcher” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ Ash Brentnall | ABCode ](https://profiles.wordpress.org/ashbrentnall/)
 *   [ ABCode ](https://profiles.wordpress.org/abcodeuk/)

[Translate “Simple Admin Role Switcher” into your language.](https://translate.wordpress.org/projects/wp-plugins/simple-admin-role-switcher)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/simple-admin-role-switcher/),
check out the [SVN repository](https://plugins.svn.wordpress.org/simple-admin-role-switcher/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/simple-admin-role-switcher/)
by [RSS](https://plugins.trac.wordpress.org/log/simple-admin-role-switcher/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0 (15 October 2024)

 * Added support for clearing cookies and resetting roles during plugin uninstallation.
 * Improved handling of nonce checks for role switching.
 * Updated admin toolbar behavior for role switching in the frontend versus backend.
 * Added functionality to open a new tab when switching roles from the admin area.
 * Enhanced handling of the guest role to maintain admin bar visibility.
 * Improved accessibility to ensure compliance with WCAG 2.0 standards.
 * Fixed an issue where the role switching persisted incorrectly after logging out.
 * Initial release of Simple User Role Switcher.

## Meta

 *  Version **1.0**
 *  Last updated **2 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.6 or higher **
 *  Tested up to **6.6.5**
 *  PHP version ** 7.0 or higher **
 * Tag
 * [user roles](https://wordpress.org/plugins/tags/user-roles/)
 *  [Advanced View](https://wordpress.org/plugins/simple-admin-role-switcher/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/simple-admin-role-switcher/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/simple-admin-role-switcher/reviews/)

## Contributors

 *   [ Ash Brentnall | ABCode ](https://profiles.wordpress.org/ashbrentnall/)
 *   [ ABCode ](https://profiles.wordpress.org/abcodeuk/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/simple-admin-role-switcher/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://abcode.co.uk/)