TwentyEleven Category Templates Not Working
-
Using TwentyEleven and wanted to create a page of posts based on one category. I followed the codex for this: http://codex.wordpress.org/Category_Templates
That generally says create a category-slugname.php file and you’re done. I created it and then tried going to http://www.mysite.com/slugname and got a 404. I tried this two or three other ways and still couldn’t figure it out.
I had done something similar on another site though using the Custom Post Types plugin. I installed that plugin, added the slug there, turned on archives in the settings… and voila, the category-slug.php file got utilized and now this all works.
All that said, why wouldn’t the codex instructions work? Besides creating the category and category-slugname.php was I missing something? Any thoughts would be appreciated!
- The topic ‘TwentyEleven Category Templates Not Working’ is closed to new replies.