WordPress.org

Ready to get started?Download WordPress

Forums

Add posts to page (1 post)

  1. Phpdesign.si
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic