Category Help
-
Hi, I’ve found most of the help I’ve needed by searching posts and I’ve read about 6 posts regarding the question I’m about to ask but I still just don’t get it.
I have 2 categories… Let’s say they’re yin and yang. Yin is my main category and it’s working perfectly on http://www.mysite.com/blog
I downloaded a plugin for category management so category yang will not be shown on the main page. That works great.
I want to put all posts from category yang at http://www.mysite.com/blog2 What code do I put on that page to only show that 2nd category, yang?
By the way, I don’t have a sidebar at all. I don’t mind people not being able to search for old posts. So I’d just like them to get to category 2 by clicking a link from the menu on my site. If I can’t have it at http://www.mysite.com/blog2, that’s fine… I just need to know how to show posts from category 2 on a page by itself. I tried using the same code on that index.php and changing the one line of code from <?php the_category(‘,’) to <?php the_category(‘3’) but that’s obviously now how it’s done. (The category i’m trying to display is actually category 3)
Any help would be greatly appreciated!
Thanks!!!
The topic ‘Category Help’ is closed to new replies.