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

Allow theme mods for non-active themes to be managed #208

Closed
johnbillion opened this issue Jan 22, 2020 · 3 comments
Closed

Allow theme mods for non-active themes to be managed #208

johnbillion opened this issue Jan 22, 2020 · 3 comments

Comments

@johnbillion
Copy link
Contributor

Theme mods are stored as a serialized option specific to each theme. It should be possible to allow management of the theme mods of themes that aren't active.

For example, I'd like to read the value of a theme mod of a previous theme.

How about a [--theme=<theme>] flag for all the wp theme mod commands?

@danielbachhuber
Copy link
Member

@johnbillion What's the specific use case here? I'm not opposed, but maybe you could use wp option instead?

@johnbillion
Copy link
Contributor Author

I can't remember what exactly I was working on, but I believe I had switched themes and then wanted to read the theme mod values from the previous theme.

Happy to close this off.

@danielbachhuber
Copy link
Member

👍

We can re-open if it comes up for someone else again.

@danielbachhuber danielbachhuber closed this as not planned Won't fix, can't repro, duplicate, stale Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants