[theme-reviewers] Coming soon page feature in a theme
Chip Bennett
chip at chipbennett.net
Fri Jun 21 11:32:37 UTC 2013
Hmm... IMO the correct approach for a Theme to take would be to have the
user set the front page to display a static page, set the custom template
for that static page to the "coming soon" template, then if 'page' ==
get_option( 'show_on_front'), and 'template-coming-soon.php' ==
get_post_meta( get_option( 'page_on_front' ), '_wp_page_template', true ),
then redirect traffic to the front page.
On Thu, Jun 20, 2013 at 11:26 PM, Harish <me at harishchouhan.com> wrote:
> Hello Chip,****
>
> ** **
>
> It’s more like redirecting traffic to a custom template, if the site mode
> option in theme options is turned to offline. I guess that shouldn’t be a
> problem?****
>
> ** **
>
> ** **
>
> Regards,****
>
> Harish **
>
> ** **
>
> *From:* theme-reviewers [mailto:
> theme-reviewers-bounces at lists.wordpress.org] *On Behalf Of *Chip Bennett
> *Sent:* Fri 21 June 13 08:51 AM
> *To:* [theme-reviewers]
> *Subject:* Re: [theme-reviewers] Coming soon page feature in a theme****
>
> ** **
>
> Seems like a perfectly valid custom page template to me.****
>
> ** **
>
> On Thu, Jun 20, 2013 at 7:46 PM, Harish <me at harishchouhan.com> wrote:****
>
> ****
>
> I wanted to know if having an option to hide the contents and display a
> coming soon page (with a counter and a widget area) allowed? This can be
> argued as a plugin territory but just want everyone’s opinion on this.****
>
> ****
>
> ****
>
> Regards,****
>
> Harish ****
>
> ****
>
>
> _______________________________________________
> 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/20130621/a3faf01a/attachment.html>
More information about the theme-reviewers
mailing list