[theme-reviewers] Special demo config for wp-themes.com, allowed?
Robert Ambartsumov
robert6292 at gmail.com
Mon Jan 16 18:46:19 UTC 2012
Thanks! i was double checking here so that i wont be doing stuff that later
will discover that are not allowed! it's always good to be sure :)
Thanks again.
On Mon, Jan 16, 2012 at 8:28 PM, Otto <otto at ottodestruct.com> wrote:
> Not allowed. Please don't try this. Theme preview should show default
> as the end user will see the default.
>
> -Otto
>
>
>
> On Mon, Jan 16, 2012 at 12:02 PM, Robert Ambartsumov
> <robert6292 at gmail.com> wrote:
> > Hey,
> >
> > I would like to include in my theme a special demo configuration file for
> > default settings that will be loaded when it matches the wp-themes.comurl,
> > so that for example I can load some data that wont be available on a
> typical
> > end user theme activation, i.e twitter username feed or a custom home
> page
> > screen.
> > the reason for this is because I do want to show the user what the theme
> is
> > capable of and improve the overall demonstration process eventually, but
> i
> > agree that those settings shouldn't be loaded as default for the end
> user as
> > per theme reviewers suggestions and guidelines.
> >
> > i.e by doing this:
> > $mframe['globals'] = home_url() == $mframe['demo']['server'] ?
> > wp_parse_args( $mframe['demo'], $mframe['globals']) : $mframe['globals'];
> >
> > the demo server url can be setup as anything, but for this example is
> > obviously wp-themes.com where we can view demo version of the theme.
> >
> > thanks!
> >
> > _______________________________________________
> > theme-reviewers mailing list
> > theme-reviewers at lists.wordpress.org
> > http://lists.wordpress.org/mailman/listinfo/theme-reviewers
> >
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20120116/d2d10f9f/attachment.htm>
More information about the theme-reviewers
mailing list