[theme-reviewers] Custom home page in the theme

Chip Bennett chip at chipbennett.net
Mon Sep 9 18:58:24 UTC 2013


Yes, it will. You have to account for it within the front-page.php template
itself.


On Mon, Sep 9, 2013 at 2:51 PM, Abhik Biswas <abhik at itsabhik.com> wrote:

> 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
>>
>>
>
> _______________________________________________
> 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/20130909/c8459173/attachment.html>


More information about the theme-reviewers mailing list