Closed joepierce closed 10 years ago
Ah, found it! Closing as a duplicate of #11. Per my notes in that thread, looks like you are setting name, but it should be theme_options[button1text_setting]
, not button1text_setting
. Still likely cleaner to use the options framework example in the other thread.
so what is the final snip?
On 7/3/14 3:28 PM, Paul Clark wrote:
Ah, found it! Closing as a duplicate of #11 https://github.com/stylesplugin/styles-font-menu/issues/11. Per my notes in that thread, looks like you are setting name, but it should be |theme_options[button1text_setting]|, not |button1text_setting|. Still likely cleaner to use the options framework example in the other thread.
— Reply to this email directly or view it on GitHub https://github.com/stylesplugin/styles-font-menu/issues/12#issuecomment-47986896.
I'm sorry, I'm still not clear on what I should use as a best-case-usage-scenario.
please and thank you.
On 7/3/14 3:28 PM, Joe Pierce wrote:
so what is the final snip?
On 7/3/14 3:28 PM, Paul Clark wrote:
Ah, found it! Closing as a duplicate of #11 https://github.com/stylesplugin/styles-font-menu/issues/11. Per my notes in that thread, looks like you are setting name, but it should be |theme_options[button1text_setting]|, not |button1text_setting|. Still likely cleaner to use the options framework example in the other thread.
— Reply to this email directly or view it on GitHub https://github.com/stylesplugin/styles-font-menu/issues/12#issuecomment-47986896.
getting much closer to a solution:
The text fields are saving data now but the "styles_font_menu" font dropdown still doesn't. The issue is apparently in the "function button1text_setting()" function. What would be the best way to write this function?
(you can see that the text fields are saving but the font doesn't) This code puts out: