• Here is the code i have now

    <?php query_posts('cat=1&paged='.get_query_var('paged'));?>
    	<?php if (have_posts()) : while (have_posts()) : the_post();?>
    		<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
                <h2 class="title"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
      </div> <!-- end of post ID -->
    	<?php endwhile; ?>
    	<?php else : ?>
    		<h2>Not Found</h2>
    	<?php endif; ?>
    <?php wp_reset_query();?>

    Thanks a lot 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how can i display 5 articles without limitation in setting’ is closed to new replies.