Support » Fixing WordPress » Headline view – query post

  • Resolved callender


    Hi there,

    I want to show summary for the first news item, followed by the 3 latest.

    So latest in full summary, and following 3 as titles only – currently using the following code. However it is repeating the first news item in the archive list.

    How do i code the php so it misses the first news item from the archive list?

    <?php query_posts('showposts=1'); ?>
    						<div class="postmetadata">Posted on <?php the_time('j F Y') ?></div>
    					<?php while (have_posts()) : the_post(); ?>
    					<li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
    					<li><?php the_excerpt(__('(moreā€¦)')); ?></li>
    					<?php endwhile;?>
    					<ul class="archive">
    						<?php get_archives('postbypost', '3', 'custom', '<li>', '</li>'); ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Headline view – query post’ is closed to new replies.