<div dir="ltr">I think:<div><br></div><div style>1) If it's in a Plugin, it would use the Plugin's namespace/function prefix</div><div style>2) If it's in the Theme , it would use the Theme's namespace/function prefix</div>
<div style><br></div><div style>If you make your Theme options properly filterable, there should be no issue at all with integrating Plugin options into the Theme's options.</div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Fri, May 24, 2013 at 1:09 PM, Abhik Biswas <span dir="ltr"><<a href="mailto:abhik@itsabhik.com" target="_blank">abhik@itsabhik.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"><div class="gmail_default" style="font-family:verdana,sans-serif">@Chip,<br></div><div class="gmail_default" style="font-family:verdana,sans-serif">The third namespace is for the function to retrieve values from options table.<br>
</div><div class="gmail_default" style="font-family:verdana,sans-serif">I am planning a *theme enhancer* plugin for my themes and integrate the plugin's options panel with the theme's. If I use theme slug namespace for the function that retrieves the values, the plugin won't work (at least with the setup I have in mind) for all the themes. I'd then have to manually edit all the files and bundle the plugin with the theme (which is too much extra work for each theme).<br>
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif">@Devin,<br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Thanks pal, I know I can change the options name. But, that's not what I want.<br>
</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">
On Fri, May 24, 2013 at 8:41 PM, Devin Price <span dir="ltr"><<a href="mailto:devin@wptheming.com" target="_blank">devin@wptheming.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Abhik. The Options Framework saves two sets of options.<br>
<br>
1) One is for the framework itself, so that it knows which option set the theme uses, which version it is, etc. You could customize the framework to change this if you like, but it would create extra work to keep the framework in sync as new versions come out.<br>
<br>
2) The other option is where the actual theme options are stored. These are saved as the theme name itself in the options table (by default), though you can easily customize this to be whatever you like. You can see in my latest theme I manually set this to be "visual-theme" in options.php: <a href="https://github.com/devinsays/visual/blob/master/inc/options.php" target="_blank">https://github.com/devinsays/<u></u>visual/blob/master/inc/<u></u>options.php</a><span><font color="#888888"><br>
<br>
Devin Price<br>
WP Theming Inc. <<a href="http://www.wptheming.com" target="_blank">http://www.wptheming.com</a>><br>
Twitter: @devinsays <<a href="http://twitter.com/devinsays" target="_blank">http://twitter.com/devinsays</a>></font></span><div><div><br>
<br>
______________________________<u></u>_________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.<u></u>wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/<u></u>mailman/listinfo/theme-<u></u>reviewers</a><br>
</div></div></blockquote></div><br></div>
</div></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>