[wp-testers] Archive of pages uses home.php template
monica kavanaugh
mamk123 at yahoo.com
Sun Apr 3 22:38:59 UTC 2011
this might help
--- On Sun, 4/3/11, michael at mfields.org <michael at mfields.org> wrote:
From: michael at mfields.org <michael at mfields.org>
Subject: Re: [wp-testers] Archive of pages uses home.php template
To: wp-testers at lists.automattic.com
Received: Sunday, April 3, 2011, 9:16 AM
The reason I recognized this as a bit strange was that I was expecting the
query to go straight to index.php. I have always thought home.php was
responsible for displaying posts having the 'post' post_type. Having it
display an archive of any other post_type just seems odd to me. Please let
me know if I am wrong in my impression of what home.php should be doing.
> On Apr 3, 2011 12:06 PM, "scribu" <mail at scribu.net> wrote:
>>
>> On Sun, Apr 3, 2011 at 6:53 PM, Otto <otto at ottodestruct.com> wrote:
>>
>> > The post_type isn't a template trigger, it
>> > doesn't affect which template gets used anywhere, really.
>> >
>>
>> That's just not true. See single-{post_type.php} and
> archive-{post_type}.php
>
> But his point is correct. See my response. Also, those are extra
> drill-down
> templates. The point is that single.php and archive.php are all being
> missed. Which is intended behavior.
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>
_______________________________________________
wp-testers mailing list
wp-testers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers
More information about the wp-testers
mailing list