[theme-reviewers] Custom home page in the theme

Abhik Biswas abhik at itsabhik.com
Mon Sep 9 18:51:12 UTC 2013


Chip,
When a front-page.php is present is a theme, won't it take precedence over
the page selected at front page display settings, according to Template
Hierarchy <http://codex.wordpress.org/Template_Hierarchy>?

I never tested it though.


On Mon, Sep 9, 2013 at 11:55 PM, Chip Bennett <chip at chipbennett.net> wrote:

> Yes, that's what front-page.php for.
>
> The one caveat is that, even when including a front-page.php template,
> Themes must still support the user configuration for front page display of
> either a static page or the blog posts index.
>
>
> On Mon, Sep 9, 2013 at 1:59 PM, priyanshu mittal <
> priyanshu.mittal at gmail.com> wrote:
>
>> Hey I have gone through blackbird theme on repository  which uses the
>> custom home page template, means, on the theme activation the custom home
>> page gets displayed in place of regular index post page...  can I do the
>> same thing in my theme
>>
>> _______________________________________________
>> 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/20130910/2701ded4/attachment-0001.html>


More information about the theme-reviewers mailing list