<div dir="ltr">Can you post code somewhere? GitHub/Gist etc.? It's really impossible to say for certain what the issue is without seeing what you're doing.<div><br></div><div>Using the Options API (get_option()) works fine with the Customizer. Have a look at Oenology if you need a code reference.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 3, 2014 at 4:58 PM, Stephen Cui <span dir="ltr"><<a href="mailto:scui2005@gmail.com" target="_blank">scui2005@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>I am in the process to change my theme to use customize. I use method 3 from Otto's tutorial. However, the customize preview and get_option does not work well. get_option is always getting the value from the database.</div>
<div><br></div><div>Is this expected results? Do I missing anything here?</div><div><br></div><div>Regards</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Stephen Cui</div><div><br></div></font></span></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>