- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Now that I’ve finished my first ever full featured wordpress theme, my attention has turned to my un-widgetized blog: http://tannercampbell.com
I’ve widgetized it, all is good. My purpose is really just to employ the ability to for users to find content through categories and such …
My question is … what .php file is WordPress defaulting to when it displays posts by category? I can’t be any that I have currently because the categories results do not contain previous/next links at the bottom like my index.php page.php and single.php pages do. I read the Codex concerning hierarchy, and it leads me to believe that it defaults to the slug (my-blog-post for example).
Should I create a category.php?
Thanks for any help!
Yes, create category.php!
The Previous/Next link is actually in loop.php.
You may need a different “loop” template since your category page is different from normal post listing.
I’ll show you what my category.php looks like on a site I’m developing right now:
You’ll see it’s very simple, but that’s all I required for this site.