Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Wordpress Blog - Chronological Order

  • 04-01-2013 08:42PM
    #1
    Registered Users, Registered Users 2 Posts: 160 ✭✭


    Hello,

    I recently set up a wordpress blog. I would like my posts to appear in chronological order.

    Could you give me some pointers on how to make this happen?

    Thanks.


Comments

  • Registered Users, Registered Users 2 Posts: 2,559 ✭✭✭KonFusion


    What theme are you running? What's your technical ability? (any familiarity with php?)

    In index.php, you should see something like

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    stick the following before it:

    <?php query_posts($query_string . '&order=ASC'); ?>

    Function reference can be found here where you can see the suggested way, rather than the easiest.


  • Registered Users, Registered Users 2 Posts: 241 ✭✭fcrossen


    By default they should already be in chronological order.


  • Registered Users, Registered Users 2 Posts: 160 ✭✭BettorAssist


    fcrossen wrote: »
    By default they should already be in chronological order.

    almost all blogs are in reverse chronological order


  • Registered Users, Registered Users 2 Posts: 160 ✭✭BettorAssist


    KonFusion wrote: »
    What theme are you running? What's your technical ability? (any familiarity with php?)


    I have no technical ability regarding this. I haven't a clue where to even go to paste your code.

    I have been reading a bit about this in the last couple of days and it seems that that code is only used for wordpress.org blogs. I have a wordpress.com blog (basically wordpress host it for me for free is the big difference).

    I am trying to find out if I can get a theme that will put the posts in chronological order from a third party or some other way to get this done.

    Theme: Greyzed by The Forge Web Creations.

    There are countless queries on the web about this and for some reason wordpress.com just won't add this feature to their .com blogs and save a lot of people and their moderators a lot of time dealing with this single topic.


  • Registered Users, Registered Users 2 Posts: 160 ✭✭BettorAssist


    Another thing I have noticed about wordpress.com blogs is when you change themes any hyperlinks you had previously as http://xxxxx.com/ become http://http://xxxxx.com/ which means you have to fix each of your hyperlinks every time you change theme so I am looking for a theme that will be used for the lifetime of the blog.


  • Advertisement
Advertisement