-
Notifications
You must be signed in to change notification settings - Fork 98
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
Is there any chance to make vafpress work with customizer? #106
Comments
Hi, |
the project, currently i'm working on, needs this functionality. So I have a basic Idea to do this, but need help. The idea is, there must be a function which used to update the fields in vp_option when we hit save. But I can't find it in the core files. If we execute the function in the customizer, then it probably going to work. Because, the options data must be saved in database. |
vp_option is used only to get options from db. In my theme I don't use vp_option function. If You only need to update options You should use: http://codex.wordpress.org/Function_Reference/update_option |
ok, if I want to use update_option function, then how should I call the option id or option name? |
Your option key is ('option_key') the key Your passed to VP_Option() class |
Hi, |
I haven't integrated any options to the customizer. I'll try that later. But there should be a solution. :( |
By the way, one more problem here. I'm registering the options panel in top level menu in dashboard. The position is '61' which is under appearance and above plugins. But I didn't get the submenus of my options panel as other frameworks do. Is there any option that I need to enable or I need to register the submenus manually? |
Do Your looking for submenu in your options groups? If yes you should use "nested menu" |
This option isn't available in VP but you can grouping your options in nested menu. |
I think this option should be included as other frameworks do. |
Maybe you have right by this is not user friendly because always when you go to another sub page the page is refreshed. |
Look what I found for customizer http://kirki.org/ :) |
Looks great for the customizer. I'm trying to achieve the submenus. If I'm done, I'll pull a request. |
I have used this code to register the submenus on my theme. This actually makes a little work but doesn't do a great job. When you first click on any submenu, it will link you to the actual menu but you can't change group with it. So this code needs to be furnished a little bit. I think this can be integrated into the framework with some modifications.
|
Hi, I wanted to know if it's already implemented or can be done anyhow. I can't find anything about customnizer in vafpress documentation.
Is there any function available to update vp_option fields from somewhere else? Then I think, we can make this work with the live customizer.
Thanks
The text was updated successfully, but these errors were encountered: