[wp-testers] Custom post type affects theme template hierarchy?

Andrew Macaulay-Brook am at theburo.net
Tue Sep 7 19:34:01 UTC 2010


Hi Peter - thanks.

On 7 Sep 2010, at 18:09, Peter Westwood wrote:

> 
> On 7 Sep 2010, at 14:40, Andrew Macaulay-Brook wrote:
> 
>> Hi - I've got a simple custom post type defined and a very basic theme with no single.php or single-*.php templates in it.
>> 
>> When I look at the single page for my post type, I seem to be getting the single.php template from twentyten instead of my theme's index.php.
>> 
>> From everything I've ever done with themes, this isn't how the hierarchy works.  Have I uncovered a bug?
>> 
>> I've checked that I haven't made a child theme by mistake!
> 
> This /shouldn't/ happen.

Thought not - was tired and needed the sanity check.

> Have you created a trac ticket with enough theme code and information to reproduce this?

Not yet, will do after trying it on a clean install of WP.

All best, A.

> Have you checked with no plugins enabled?
> 
> Cheers
> -- 
> Peter Westwood
> http://blog.ftwr.co.uk | http://westi.wordpress.com
> C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5
> 
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers

Andrew Macaulay-Brook, BEng MBCS CITP, trading as theburo.net
mailto:am at theburo.nethttp://www.theburo.net/



More information about the wp-testers mailing list