• https://www.buildingthemiddleclass.org/issues/the-great-recession/ (this happens on all the post pages)

    For some reason I am unable to change the order of the posts from alphabetic to chronological. Here is the code that generates the posts:

    <?php if(have_posts()) : ?>
    <?php while(have_posts()) : the_post() ?>
    <?php $post_images = bdw_get_images($post->ID,'large');?>
    <div class="feature-box clearfix">
    <div class="subheading">

    I am working with a wordpress theme developed by a past employee and can’t seem to figure out why this is happening as I have tried a few different methods to fix this. I may be overlooking something obvious but I’m stumped, thanks in advance for the help!

    Below is the entire post generating page:

    [442 lines of code moderated as per the Forum Rules. The maximum limit for posting code is ten lines. Please use the pastebin]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The default is chronological so unless you’ve set an order within the code, it’ll be chronological.

    Thread Starter hawkeye126

    (@hawkeye126)

    Yeah I’ve read that on similar forum posts. Thanks though. I inherited the old web administrators site/customized them and am now trying to make this edit. I’ve been looking all through the code and plugins for something that would be changing the post order to alphabetical but have been unsuccessful. Any other advice?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unable to Chronologically Order Posts on Category Pages’ is closed to new replies.