• So I’m building an archive section that pulls from a specific category. I’ve gotten it to pull all the relevant info, problem is, it doesn’t display properly (it does this weird inline thing), and I can’t figure out why. Is this a PHP error, or a CSS error?

    http://eco-rico.com/test
    (scroll down below the test section and ignore the spacing issue with the sidebar–i’m just using this page to test the archive section).

    Also, is there a way to exclude the most recent post from appearing in the archive section?

    Thanks for all of your help–I’ve been working on this forever.

Viewing 1 replies (of 1 total)
  • Thread Starter torbie

    (@torbie)

    Oh, forgot to post the php:

    <?php $my_query = new WP_Query(‘category_name=ask-giselle&posts_per_page=10’); ?>
    <?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
    <?php $my_custom_field = get_post_meta($post->ID, “thumb”, true); echo “<img width=’110′ height=’112′ style=’float:left; margin-left: 0px; margin-top: 0px; margin-right: 15px; ‘ width=’60’ src='”.$my_custom_field.”‘/>”; ?>

    <?php the_excerpt(); ?>

    <?php endwhile; ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Recent Posts CSS Issue?’ is closed to new replies.