[theme-reviewers] Theme Options and Functions
Andrew Nacin
wp at andrewnacin.com
Wed Oct 20 16:18:25 UTC 2010
On Wed, Oct 20, 2010 at 12:15 PM, Bavota San <c at bavotasan.com> wrote:
> Is a theme-slug defined in *get_theme_data()*? If so, we can suggest that
> developers use that so the theme-slugs remain consistent and unique to the
> theme.
>
get_theme_data() shouldn't be used on a pageload. Way too intensive. Theme
slugs are rather trivial to fetch, via get_option('stylesheet') or
get_option('template').
But yes, theme-slug should be the function prefix as well as the options
prefix.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20101020/40252cf6/attachment.htm>
More information about the theme-reviewers
mailing list