How to give access to Smart Slider for Non-Admin users?

In this article

☝️ Note: The user group must have backend access in order to let them work with Smart Slider 3 as it only works in the backend. Frontend only users will not be able to access or use Smart Slider 3.

Give access on WordPress

To be able to allow your non-admin user groups to access Smart Slider you will need a plugin that is capable of handling the user capabilities, for example, the User Role Editor:

Go to it's settings (WordPress menu: Users → User Role Editor), then look for the capabilities that are named something like SmartSlider.

Select them and save the capabilities for the user group. 

Make sure you also give access to the unfiltered_html capability to those user roles which you want to access Smart Slider 3.

unfiltered_html capability

In WordPress unfiltered_html means, that a user should be able to edit HTML, JavaScript and CSS codes of your website. As Smart Slider allows you in a ton of places to edit HTML, JavaScript and CSS codes, that is why unfiltered_html capability is a requirement.

So if you don't want to give unfiltered_html capability to your users for some reason, then you actually don't want to give them access to Smart Slider either, as both of them mean the same coding access.

WordPress multisites

On WordPress multisites only Super admin users can have unfiltered_html capability, because WordPress developers are trying to avoid giving access to edit HTML, JavaScript and CSS codes for security reasons. Within Smart Slider you are able to edit HTML, JavaScript and CSS codes, so without unfiltered_html capability a user cannot have access to Smart Slider either.

What you have to consider is, that how much do you trust your other user roles, because you have a choice to overwrite this limitation of WordPress. If you trust them, you can add unfiltered_html capability to your user roles this way:

Create a must-use plugin

⚠️ This article was created for developers!

To be able to follow the steps, you're required to have coding knowledge. If you're not a developer and can't achieve what you're looking for, consider hiring a developer.

Make sure to carefully follow the tutorial and write correct code. We're unable to provide help with custom coding, or the possible issues that are happening because of them.

Step 1

Inside your wp-content folder create a mu-plugins folder, if you don't have one there yet:
wp-content\ mu-plugins

Step 2

Create a PHP file inside it. I will call it unfiltered.php:
wp-content\mu-plugins\ unfiltered.php

Step 3

In this code:

 * Plugin Name: Unfiltered HTML access modification

function allow_unfiltered_html_multisite( $caps, $cap, $user_id ) {	
	if ( 'unfiltered_html' === $cap && user_can( $user_id, 'editor' ) ) {
		$caps = array( 'unfiltered_html' );

	return $caps;

add_filter( 'map_meta_cap', 'allow_unfiltered_html_multisite', 10, 3 );
Modify 'editor' to the user role, where you actually want to give this access:
user_can( $user_id, 'editor' )

You can find the real user role name for example in User Role Editor.

Step 4

Insert the PHP code into your PHP file.  And you are done. This code runs on your website and the given user role will have unfiltered_html capability.

Give access on Joomla

Go to System → Global Configuration → Smart Slider 3 and assign the capabilities to the user groups who you want to give access to.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.