[resolved] Arranging a Category sequentially... (3 posts)

  1. johnmuth
    Posted 8 years ago #

    I have a client who mostly posts her blog as just whatever she has to say, but is also running a series of images (alright, it's a comicbook) that she would like to have appear sequentially, when someone clicks on the dedicated Category link. I have looked throughout the forums on here and even on ComicPress - to see if there was mention there - on how to do it, but haven't found an answer.

    I'm sure it's an obvious thing, but my lack of knowledge in this program gets a little stifling. Although, I'm happy to say that I've figured out quite a bit from looking over these forums, and not having to post every question I've had.

    Any help or information would be greatly appreciated.



  2. Dgold
    Posted 8 years ago #

    Sequentially... meaning oldest to newest?

    I think that's just a parameter you can set in The Loop, in the query for the posts. It's order-by-date by default, and you would just change the option to make it Ascending or Descending, whichever changes it.

    You'd probably make this change on a a Category-5.php or something like that, a custom category template you make for the comics category, and customize the query in that.

    Lots more about this in the codex

  3. johnmuth
    Posted 8 years ago #

    Once I actually figured out what you were talking about, I got it.

    Just put this in the category-5.php page under the get_header but before the if(have_posts)

    <?php query_posts("orderby=menu_order &order=ASC"); ?>

    Edit: Thanks. :)

Topic Closed

This topic has been closed to new replies.

About this Topic