Call latest post by Individual Author (1 post)

  1. bradstinyworld
    Posted 7 years ago #

    Page: http://bradstinyworld.com/fallenangels/

    I am trying to set the center section so that I so the latest post by individual authors. This is my current code:

    <div class="section">
    <h2>Magazine Section #1</h2>
    <?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
    <b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
    <?php the_content_limit(130, ""); ?>
    <div class="hppostmeta">
    <p><?php the_time('F j, Y'); ?> | <a href="<?php the_permalink() ?>" rel="bookmark">Read the story &raquo;</a></p>
    <?php endwhile; ?>

    Any thoughts? TIA

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.