[Resolved] Headline view – query post
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> <ul class="archive"> <?php get_archives('postbypost', '3', 'custom', '<li>', '</li>'); ?> </ul>
- The topic ‘[Resolved] Headline view – query post’ is closed to new replies.