[theme-reviewers] Front Page Implementation

Srikanth Koneru tskk79 at gmail.com
Thu Jun 12 20:02:51 UTC 2014


http://theme.wordpress.com/themes/forefront/ seems to have same meaning as
we have here, but will only know when I submit a theme.


On Fri, Jun 13, 2014 at 1:26 AM, Emil Uzelac <emil at uzelac.me> wrote:

> For instance this meaning is equal to zero if you are submitting to
> WordPress.com ;)
>
>
> On Thu, Jun 12, 2014 at 2:53 PM, Srikanth Koneru <tskk79 at gmail.com> wrote:
>
>> It has a lot of meaning :)
>> It gives you an option to show a page as index(in traditional web dev
>> sense) and switch between list of posts or page, otherwise you would have
>> to manually edit the index.php  or build your own option setting to do that.
>>
>>
>> On Fri, Jun 13, 2014 at 1:16 AM, Emil Uzelac <emil at uzelac.me> wrote:
>>
>>> At this time and unless WordPress core makes the changes, no not really.
>>>
>>> front-page.php should take the precedence over all other Templates and
>>> it does not :)
>>>
>>> I personally find this Template confusing.
>>>
>>>
>>>
>>> On Thu, Jun 12, 2014 at 2:42 PM, Stephen Cui <scui2005 at gmail.com> wrote:
>>>
>>>> Thanks for the link. I read and have the following conclusion.
>>>>
>>>> - The theme has to display blog index if setting is "posts"
>>>> - The static page can only be displayed if setting is 'page' (static
>>>> page).
>>>>
>>>> In other words, implementing front-page.php has not much meaning.
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, Jun 12, 2014 at 3:08 PM, Emil Uzelac <emil at uzelac.me> wrote:
>>>>
>>>>> You'll find all of the answers right here
>>>>> <http://www.chipbennett.net/2013/09/14/home-page-and-front-page-and-templates-oh-my/>
>>>>> .
>>>>>
>>>>>
>>>>> On Thu, Jun 12, 2014 at 2:00 PM, Stephen Cui <scui2005 at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I know we had many discussion regarding the front-page.php vs.
>>>>>> home.php. But I am still confused about
>>>>>>
>>>>>> *Option 1 (front-page.php):*
>>>>>>
>>>>>> if ( 'posts' == get_option( 'show_on_front' )  ) {
>>>>>>    // Load home.php
>>>>>> } elseif ( 'page' == get_option( 'show_on_front' )  ) {
>>>>>>   // Load page's template part
>>>>>> }
>>>>>> else {
>>>>>>    // Front Page Implementation
>>>>>> }
>>>>>>
>>>>>> *Option 2 (**front-page.php)**:*
>>>>>>
>>>>>> if ( 'page' == get_option( 'show_on_front' )  ) {
>>>>>>   // Load page's template part
>>>>>> }
>>>>>> else {
>>>>>>    // Front Page Implementation
>>>>>> }
>>>>>>
>>>>>> *Option 3 (**home-page.php)**:*
>>>>>>
>>>>>> if ( 'page' == get_option( 'show_on_front' )  ) {
>>>>>>   // index loop
>>>>>> }
>>>>>> else {
>>>>>>    // Home (or. Front ) Page Implementation
>>>>>> }
>>>>>>
>>>>>> My questions are:
>>>>>>
>>>>>> - If option 2 and 3 are acceptable.
>>>>>> - If only option 1 is acceptable, the only time  front page
>>>>>> implementation will be displayed is when user choose Static without
>>>>>> choosing any page as Front page.
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Stephen Cui
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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/20140613/d386103b/attachment-0001.html>


More information about the theme-reviewers mailing list