Post meta data floated to the right of post
-
I’m trying to style a client’s blog to show a post’s meta data floated to the right of each post like this: Screenshot. I’m working with a barebones wordpress template and I’m not sure how to go about doing this with the loop that was provided. I know how to float two div’s with CSS but not sure how to make it work in this case. Can anyone point me in the right direction?
The loop:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2> <?php include (TEMPLATEPATH . '/inc/meta.php' ); ?> <div class="entry"> <?php the_content(); ?> </div> <div class="postmetadata"> <?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> </div> </div> <?php endwhile; ?> <?php include (TEMPLATEPATH . '/inc/nav.php' ); ?> <?php else : ?> <h2>Not Found</h2> <?php endif; ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Post meta data floated to the right of post’ is closed to new replies.