Future post and single category view
-
I’m trying to set it up so that on my main page, you only see one category. I know that you can use the code:
<?php
if (empty($cat)) {
$cat = ‘numberofcategory’;
}
?>but if i do that, it’ll prevent me from viewing future posts. Basically it screws with my archives. Does anyone know of a way I can code it so that I can show one category on the main page while allowing for future posts to be seen at the same time when I goto the category?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Future post and single category view’ is closed to new replies.