Sunday, February 19, 2012

how to show all post in wordpress but not first

how to show all post of WordPress but not first  and all post is in descending order

    <?php $p=1;  query_posts($query_string '&orderby=id&order=ASC'); ?>

   

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

     <?php $p++ ;  if($p==2){ continue ; } ?> 

    <h2 class="section_headline"><?php the_title();?></h2>

           

<?php   //the_excerpt ();  ?>

<?php  the_content(); ?>  

No comments:

Post a Comment

If you Satisfied , Please Leave a comment