Skip to content
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

Theme support #2

Open
joldnl opened this issue Mar 9, 2020 · 3 comments
Open

Theme support #2

joldnl opened this issue Mar 9, 2020 · 3 comments

Comments

@joldnl
Copy link

joldnl commented Mar 9, 2020

Is it possible to use this package for themes in stead of plugins? I would love to have this functionality with my custom theme, that depends on some plugins that need to be installed and active.

@jakubmikita
Copy link
Contributor

The theme should rely so specifically on the plugins. You can use this package, but because there's no real "booting" procedure of the theme it will be difficult to hold it off like in the plugin. You can display the notice in admin though

@joldnl
Copy link
Author

joldnl commented Mar 9, 2020

My theme has it's own boot mechanism, and plugins are only called if they are actually present, by checking the plugin base class.

I'll give it a try, and will document and share my findings here.

@jakubmikita
Copy link
Contributor

I think you should be good to go then! Please share your findings, I'm very curious.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants