WordPress.org

Support

Support » How-To and Troubleshooting » Posts only from 1 category and oldest first

Posts only from 1 category and oldest first

  • Okay, so I have this template and everything is working great but I just can’t seem to wrap my head around this WordPress PHP. Here’s what I need to do:

    On my main page, I need to show only posts within a certain category (ID=4) and I need them to display oldest first. Here is my current index.php:

    [code moderated – please use the pastebin]

    Any help would be greatly appreciated as I’ve literally gotten a headache trying to wrap my head around this stuff.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Posts only from 1 category and oldest first’ is closed to new replies.
Skip to toolbar