• Anonymous User

    (@anonymized-5837566)


    How to block certain plugins and themes from users?

    Meaning I have around 20 plugins and 20 themes or so that I DO want users to be able to use, but a few that I DON’T want them to be able to use.

    Thanks, Bryan

Viewing 5 replies - 1 through 5 (of 5 total)
  • assuming you mean you are running multisite, only the ones you network activate are available for users/blogs

    Thread Starter Anonymous User

    (@anonymized-5837566)

    Well, I am posting under multisite.

    That might have been the case previously, but now the way multisite handles it is that just to add a plugin to the main site it’s ‘available’ to users.

    Yes, available, NOT activated however they can activate it if they wish.

    That’s good for most of the plugins, but some I want strictly for the main site only.

    Similarly, how you can set the default theme for users:

    define('WP_DEFAULT_THEME', 'userdesign');

    I was hoping there might be a way to list plugins/themes that should be hidden from users.

    Probably wishful thinking that it would be that easy.

    Thanks, Bryan

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    You can manage themes per site.

    Go to Network Admin -> Themes. If they’re Network activated, everyone sees them. If they’re not, they don’t. Then you have to go to each site (network admin -> Sites -> Edit Site) and activate them per site.

    You can block plugins per site using plugin manager tools.

    PLUGIN MANAGMENT
    * http://ww.wp.xz.cn/extend/plugins/exclude-plugins/
    * http://ww.wp.xz.cn/extend/plugins/restrict-multisite-plugins/
    * http://ww.wp.xz.cn/extend/plugins/plugins-enabler/

    Thread Starter Anonymous User

    (@anonymized-5837566)

    Wonderful, thank you.

    So to recap theme and plugin control for multisite users:

    Themes

    When installing themes they’re automatically available for all users, this has nothing to do with network activating or not. It’s just like that by default.

    So, go to Network Admin > Themes > And Click Network Disable for the Theme(s) you Only Want Available to You, the Super Admin.

    Plugins

    Sadly, the same setting isn’t available to plugins… it’s all or nothing.

    http://ww.wp.xz.cn/extend/plugins/exclude-plugins/

    is the plugin you want to go with, Network Activate it.

    Thanks again Ipstenu.

    Thanks, Bryan

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Themes – Yep.

    Plugins – Use a (heh) plugin and you can manage them 🙂

    I listed the set of them, since it depends HOW you want to restrict them 😉

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘How to Block Certain Plugins/Themes?’ is closed to new replies.