number of post show


that code is used
<?php $posts = query_posts( $query_string . ‘&orderby=title&order=asc’ ); ?>
<?php if( $posts ) : ?>
<?php foreach( $posts as $post ) : setup_postdata( $post ); ?>
<li><a href=”<?php the_permalink() ?>”><?php the_title(); ?></a></li>
<?php endforeach; ?>
<?php endif; ?></ul>

Advertisements