-
Notifications
You must be signed in to change notification settings - Fork 55
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
Hook Additional Options onto Action #31
Comments
Options can just be added altogether in one call. I'm sure it's possible to rework this code a bit so multiple can be added, but I'd need to spend some time with it. |
I see, thank you @devinsays |
Let's leave this issue open. I'll take a look next time I need to make some updates to this codebase. |
@Satrya Thanks for posting this and for your pull request. Were you able to make any progress with this request? I'd like to add additional theme options via a plugin. |
I'm not sure this project is maintained anymore, but here is what I have done in the past: Add an filter and then hook into it in your child theme or plugin. Then use the filter: ` return $options; ` |
@Misplon I am sorry I am not using this library anymore, but I have tried by calling the file directly and it was worked, something like below
|
Thanks guys, I really appreciate your replies. |
I'm sorry about title, I have no idea what is the best title for my question.
I'm trying to split the customizer option into seperated files, so I tried to added 'hook' in the middle of code, somethin like this
then I called the file and hook in to add the panels/sections.
general.php
But it didn't worked. My question:
Thank you.
The text was updated successfully, but these errors were encountered: