-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it clear what plugins are required, recommended, or not supported in a theme #201
Comments
from @smtierneybu perhaps activate the required plugin(s) in addition or instead of the notice. |
This idea is thematically related to some other struggles that Ron and company have in activating themes - it can be difficult to tell what is required, what is supported, and what is not. Another possible way we can make this clearer at the time of theme activation is to also list the supported plugins in the description on style.css: https://github.com/bu-ist/responsive-framework/blob/develop/style.css#L7 Is there a way we can, say, have a list of recommended plugins, as well as a list of required plugins, for each theme? Especially companion themes. |
Next steps: Can I get a recommendation for ways to solve the requirements above from the devs, and can we go over it together to make sure it's on track? |
For custom themes, we've been copy-pasta'ing code that Alana originally wrote. See it in action in a few recent themes:
Since we're talking about custom themes only:
One step further, as noted here is to programmatically activate the required plugins instead of just showing a notice. Making that modification to the code wouldn't be much. |
Goal
To make it easier for folks activating a theme - be it helpdesk, a developer in our department, or someone else - to understand what plugins are required for the theme to work, and what plugins are recommended for the theme but will not break it if you do not install them.
Requirements
Original request
I would like to have a CMB2 notice for themes that requires CMB2. Similar to how we do it for BU Banners, I would like the notice code to live in Responsi itself. It should be off by default, and then become active with a constant in the Responsive Child Starter theme (like we do with other optional settings).
This will make noting which themes are CMB2-required easier and have a consistent way to show these notifications (rather than doing it slightly different on each child theme)
The text was updated successfully, but these errors were encountered: