WordPress.org

Ready to get started?Download WordPress

Forums

Posts in chronological order (10 posts)

  1. eccola
    Member
    Posted 9 years ago #

    Is it possible to order the posts chronological? Opposite of how they appear on the site now? I would like to have the possibility to both look at the posts as they are now, and in a reverse order...

  2. Kafkaesqui

    Posted 9 years ago #

    Yep. Add this to your URL query string:

    &order=ASC

    ASC = ascending order
    DESC = descending order

  3. webva
    Member
    Posted 9 years ago #

    Sorry for the nubie question, but where is this URL query string located?

  4. webva
    Member
    Posted 9 years ago #

    I found the answer in post:

    http://wordpress.org/support/topic.php?id=16291

    If you follow this, be aware that the method for 1.5 changes from previous versions. But, 1.5 is also given, in the lower third of the thread.

  5. laurena1
    Member
    Posted 7 years ago #

    Ok. dont laugh, but how do I add to my query string? I want to change my post so they start with the oldest and end and the newest. I assume I need to add ASC = ascending order to do this but how and where?

  6. moshu
    Member
    Posted 7 years ago #

  7. laurena1
    Member
    Posted 7 years ago #

    I have read all the post on the subject but I cant find an answer that shows me how to get to the area where I need to add the ASC = ascending order commands? Basically I need someone to tell me step by step how to add this. Starting just after the point where I turn my computer on. I figured that the computer has to be plugged in first.

  8. moshu
    Member
    Posted 7 years ago #

  9. laurena1
    Member
    Posted 7 years ago #

    Ok, I understand how to modify and what I need to modify. when I search in the string of code I cant find the one I need to alter, the ...desc.. line. I did a search with notepad and one with word but I can not find the line of code to change. I even went line by line untill I couldn't see out of my right eye any longer. Any help? All I want is for the oldest post to be read first. no special cat's, just one. oldest one first.

  10. laurena1
    Member
    Posted 7 years ago #

    I have read the posts and know what to change and where to change it but I can not find it. when I go to the Editing wp-blog-header.php page this is all I get;

    Its not in there
    -----------------------------------------------------------
    <?php

    if (! isset($wp_did_header)):
    if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
    if ( strstr( $_SERVER['PHP_SELF'], 'wp-admin') ) $path = '';
    else $path = 'wp-admin/';
    die("There doesn't seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.");
    }

    $wp_did_header = true;

    require_once( dirname(__FILE__) . '/wp-config.php');

    wp();
    gzip_compression();

    require_once(ABSPATH . WPINC . '/template-loader.php');

    endif;

    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.