[theme-reviewers] Draft Theme Development Checklist

Ian Stewart ian at themeshaper.com
Tue Jul 13 20:00:02 UTC 2010


On Sat, Jul 10, 2010 at 6:23 AM, Safirul Alredha <zeo at zeo.my> wrote:
> I would love to hear the reasoning behind this:
> ...
> Excluded Files
>
> Themes must not include files such as the following:
>
>    * page-foobar.php
>    * category-foobar.php
>    * tag-foobar.php
>    * taxonomy-foobar.php

If a theme developer creates a custom page template with the name
page-foo.php and a user creates a page with the slug "/foo", and
expecting the default template, they might be surprised to find that
content from page-foo.php is now appearing on their new page.

http://codex.wordpress.org/Template_Hierarchy#Page_display

-- 
Ian Stewart

http://ThemeShaper.com/
http://twitter.com/iandstewart/


More information about the theme-reviewers mailing list