WordPress.org

Ready to get started?Download WordPress

Forums

Show Posts From Newest To Oldest (8 posts)

  1. johncatman
    Member
    Posted 2 years ago #

    I have read a few threads about this but it seems that totally different code for my index.php. First off my theme is Video Elements. I would like to shows posts from newest to oldest. thanks :) here is the index.php info:

    [code moderated - please follow the forum guidelines for posting code]

  2. dkotter
    Member
    Posted 2 years ago #

    This that code not working? It should be sorting posts from newest to oldest, because you aren't changing any of the sorting options in that code, and by default that is how WordPress sorts.

  3. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    There's actually nothing in that code which would determin any post order.

    Newest to oldest is the default WP behaviour.

    If your site is not behaving as such, something else is doing it.... either differnt code above what you posted, or possibly in functions.php.....

  4. johncatman
    Member
    Posted 2 years ago #

    Functions.php code

    [Code moderated as per the Forum Rules. Please use the pastebin]

  5. johncatman
    Member
    Posted 2 years ago #

    Check my function.php code for anything please.
    http://pastebin.com/ZD9eXkc5

  6. johncatman
    Member
    Posted 2 years ago #

    le bump
    o3o

  7. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    Nope, nothing there either.

    So, if you deactivate all of your plugins does the problem persist?

    Also, have you switched to 2011 theme temporarily to see if the problem is theme specific?

  8. Gabe Young
    Member
    Posted 2 years ago #

    Since newest to oldest is default, in addition to removing your plugins, you can also try to change themes to see if that's the culprit.

Topic Closed

This topic has been closed to new replies.

About this Topic