Hide Microthemer from all but one admin user?

Author Posts

bluedognz

Is it possible to hide microthemer from all users (including other admins) so only my admin user can see it? Does this make sense?

I would like to hide it from other users to save confusion.


Sebastian

Hey,

Unfortunately user configuration isn’t possible right now. But we added this feature to our todo list a few days ago following a request from another user. It will still be a few months, but we’ll get this done at some point. I’m sorry I can offer anything more immediate than that.

Cheers,
Sebastian


bluedognz

No Problem,

I can work around this. 🙂

Clark


Sebastian

Great! 🙂


webspeed

Hi, is this still the case?

I would like microthemer to be displayed to only user id : 1

is this possible?


Sebastian

Hey,

Unfortunately this still isn’t possible. I’m close to finishing a big update for Gutenberg integration. I can move onto this afterwards. I created a separate branch recently to allow granting Microthemer access to users with manage_options capability. I can address your request when I merge that with the current new features.

Is your main concern hiding Microthemer from clients that might accidentally stumble across it? In which case, hiding Microthemer menu items with CSS in the admin area could be an option.

.toplevel_page_tvr-microthemer,
   .wp-mcr-shortcut {
   display: none;
}

(You would enqueue the above CSS in your functions.php file on the admin side if the current user’s ID is not 1)

Or is it lack of trust for administrators? In which case, I would need to modify MT to block certain users with server side PHP code.

Cheers,
Sebastian


webspeed

Hi Sebastian

Thanks, simply to hide from my clients so they dont get confused or break things.

I managed to do it with a code snippet so its not that important for me now


Sebastian

That’s great, I’m glad you found a workaround.

BTW, the option to uninstall Microthemer but still load it’s CSS assets can be helpful when handing a site over to a client:

https://themeover.com/uninstall-but-keep-changes/

Your menu hiding system might be more convenient for sites you’re actively working on though.

Cheers,
Sebastian

You must login or register to reply to this topic.