Restrict posts on index to a specific category.
Is it possible to only have the posts on the index page be from a single category (ie 'News') while posts in other categories are reached through the category navigation?
|
You can do this with PHP. Flynn helped me out when I wanted to show posts from all categories on the front page EXCEPT from 2 categories, Obituaries and Letters to the Editors. I wanted them to show only in the left sidebar as separate "Recently In....." widgets.
I put this in the Style and Edit Center Column/Content Above the Loop section: Code:
<?php if (is_front_page() && !is_paged() ) |
Another possibility is to use the Sticky Front Page Categories and Tags plugin or the Opt-in Front Page plugin which allows the blog or news category to show as you wanted.
|
All times are GMT -6. The time now is 05:56 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.