The following codes are the the codes in the template, it shows a number of posts in the featured section, the number is fetch from [“featuredPostCount”].
I only want it to show one post through changing
if (have_posts()) : while (have_posts()) : the_post(); $i++;
how can i do that?
<?php
query_posts('cat='.$suvi_options["featuredCatId"].'&showposts='.$suvi_options["featuredPostCount"]);
if (have_posts()) : while (have_posts()) : the_post(); $i++;
?>