Is it possible to make a theme available to only specific user groups? Basically I would want to have “premium themes” for paid users.
Similarly in a theme like Horizon, it is possible to have color schemes available to only specific user groups.
I understand it may not be possible out of the box but if I were to make it work, what do I need to tinker with?
PS: I did see a similar topic but it was 7 years old. Hoping something has changed since then or at least it is easier to create a custom plugin that would do this. Even if it is a custom plugin, please do point me further ahead so that I can attempt it.
That was a CSS only solution which will not work when you are restricting access to non paying members. That solution was hiding access to paying members.
It is just a CSS based solution but will work to restrict users from seeing the premium themes in the selector. Prerequisites is that the user needs to select primary group. Though there is also a TC that will add all user groups as classes.
There isn’t an easy way to keep them from selecting the theme, but you could create a theme that checked the current user’s group and then did something like redirected people to a page that told them to change the theme back or to subscribe.