show wordpress post in descriding order

    <?php query_posts($query_string . '&orderby=id&order=ASC'); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post();?>
    <div class="wrap_box">
    <h2 class="section_headline"><?php the_title();?></h2>
           
<?php  the_content(); // the_excerpt ();  ?>

<?php edit_post_link('Edit'); ?>
   
    </div>
    <?php endwhile; endif; ?>

Comments

Popular posts from this blog

Call PHP Function In JavaScript Using Ajax

List of Post Category Wise in wordpress