hakimjaya06 / carrington

Automatically exported from code.google.com/p/carrington
0 stars 0 forks source link

page.php templates do not pick up in trunk #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Create a page.php template in the content directory.
2. Load a WordPress page

page.php should override content-default.php in the template hierarchy. It does 
not.

Original issue reported on code.google.com by marlfo...@gmail.com on 9 Feb 2010 at 9:43

GoogleCodeExporter commented 9 years ago
Perhaps related - report that meta-key-value.php doesn't work in trunk either.

Original comment by alexking...@gmail.com on 11 Feb 2010 at 5:47

GoogleCodeExporter commented 9 years ago
Unable to reproduce. If anyone else is able to, please re-open.

Original comment by alexking...@gmail.com on 5 Mar 2010 at 11:36

GoogleCodeExporter commented 9 years ago
Same issue, page.php does not override cat-[category].php

Steps to reproduce:
1. create a content/cat-[default-category-slug].php file
2. create a content/page.php file
3. enable carrington debugging
4. publish a page

All in all carrignton does not pick the correct template file for a page if 
there are files with higher hierachy (cat-[category].php in this case) in the 
content folder.

Original comment by hernanda...@gmail.com on 9 Jun 2010 at 8:03