WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Add posts to page (1 post)

  1. Phpdesign.si
    Member
    Posted 4 years 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