Sunday, February 12, 2012

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; ?>

No comments:

Post a Comment

If you Satisfied , Please Leave a comment