Add posts to page
-
<?php query_posts(true)// Really cool hack! ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php // Content comes here ?> <?php endwhile; ?> <?php //include (TEMPLATEPATH . '/inc/nav.php' ); ?> <?php else : ?> <?php //Nothing found comes here.. ?> <?php endif; ?> <?php wp_reset_query;?>
- The topic ‘Add posts to page’ is closed to new replies.