Help & Support
Support & Troubleshooting
If you encounter issues while implementing the [user_role] shortcode, please ensure the following steps have been completed:
- File Location: Verify that the code from
app.phpwas pasted into your active theme'sfunctions.phpfile (or a site-specific plugin). - Syntax: Ensure no opening or closing PHP tags (
<?php ... ?>) were accidentally duplicated or broken during the copy-paste process. - User Status: Note that this shortcode is designed to show the role of the currently logged-in user. If you are viewing the page as a guest, the output may be empty depending on your theme's handling of null values.
Contact Information
For technical assistance, bug reports, or questions regarding the implementation of this snippet, please contact the development team directly:
- Email: hello@supervised.co
Custom Requests
If you require modifications to this snippet—such as displaying roles for specific user IDs, formatting the output string, or integrating it with third-party membership plugins—we are available for custom development.
Please reach out via the email above with a detailed description of your requirements, and our team will get back to you with a consultation.