• Everything was working.

    I was using

    <?php
    if (empty($cat)) {
    $cat = '1';
    }
    ?>

    on the top of my index page. Only those posts from category 1 are showing up. But when I click on other categories, the posts from category 1 are showing up on other pages -example: in category 2.

    If anyone knows what happened or can give me some direction, it would be appreciated.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Getting 1 Category of Posts on Index’ is closed to new replies.