The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] pulling recent post from category (4 posts)

  1. wprockstar
    Posted 8 years ago #

    hey guys,

    got a small problem here...

    I created a category.php file, and i'm trying to get the navigation working so that it only displays post from that cat if you click on next, previous.

    how can I do this?


  2. moshu
    Posted 8 years ago #

    It should work like that by default in category archive view - unless you screwed up the category.php code.

    EDIT. Although your topic title has nothing to do with a category.php which is a category template.

  3. deadceasar
    Posted 8 years ago #

    read up on php queries. i'm sure you'll find a solution to your particular need if you do. i did.

  4. wprockstar
    Posted 8 years ago #

    @moshu i though it did since I was editing that file.

    you would think that it would work without touching the loop code from the index.php
    hmm.. maybe i did screw something up lol. i'll check

Topic Closed

This topic has been closed to new replies.

About this Topic