WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. wprockstar
    Member
    Posted 6 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?

    thanks

  2. moshu
    Member
    Posted 6 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
    Member
    Posted 6 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
    Member
    Posted 6 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

Tags