![]() |
Select Categories on Blog Page
Is it possible to only show posts from select categories on the blog page? I have a category named "News". I don't need it to show up on the blog page.
I've looked at the code for page_blog.php but it didn't make sense to me. Category 1 is uncategorized on my site. I don't have any uncategorized posts. What I am looking to do is for the blog page to show every post except those from Cat=1, 3, 9, 21, 27. Any help is appreciated. Also, why is the "more" tag not being read on the blog page? It's working fine on the home page. |
Re: Select Categories on Blog Page
Try this. Find this code in page_blog.php:
Code:
query_posts("showposts=5&paged=$page");Code:
query_posts("cat=-1,-3,-9,-21,-27&showposts=5&paged=$page"); |
Re: Select Categories on Blog Page
Worked fine. Thanks.
I am still wondering why the more tags aren't operative on the blog page. Some of my posts can be quite long and I don't want them running on forever on the blog page. |
| All times are GMT -5. The time now is 01:56 PM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.