one category per page
Hello, sorry if this has already been asked but i have been working on it so long my brain is fried.
i am using the nightly build with sub cats.
simply put, i have these categories:
i would like to click on “music”, see only the posts from “music” and the corresponding sub categories (lyrics,stuff), and not see “general”.
1) how can i modify this code to only show cat 3:
<?php list_cats() ?>
2) i found this code in the wiki, but do not know how to implement it. I am not very skilled php wise.
if (‘/’ == $_SERVER[‘REQUEST_URI’])
$cat = 1;
can someone elaborate on this code and also, is this code good with the newest version?
- The topic ‘one category per page’ is closed to new replies.