Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Wordpress Blog - Chronological Order

Options
  • 04-01-2013 8:42pm
    #1
    Registered Users 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 Posts: 2,588 ✭✭✭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 Posts: 241 ✭✭fcrossen


    By default they should already be in chronological order.


  • Registered Users Posts: 160 ✭✭BettorAssist


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

    almost all blogs are in reverse chronological order


  • Registered Users 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 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