Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="content">
- <!-- LEFT COLUMN -->
- <div id="cl">
- <div id="la"></div>
- <?php $releases = new WP_Query('cat=3&posts_per_page=2'); ?>
- <?php while ($releases->have_posts()) : $releases->the_post(); ?>
- <div class="gold">
- <?php if (has_post_thumbnail( $post->ID ) ): ?>
- <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
- <a href="<?php echo get_permalink( $id ); ?>" class="permalink">
- <img src="<?php echo $image[0]; ?>" alt="Cherokee Leaves" title="Cherokee Leaves" class="thumb" border=0 /></a>
- <?php endif; ?>
- <div class="descbox">
- <a href="<?php echo get_permalink( $id ); ?>" class="titlelink"><h3 class="title"><?php the_title(); ?></h3></a>
- <h4 class="author"><?php echo get_post_meta( get_the_ID(), 'author', true ); ?></h4>
- <p class="desc"><?php echo get_post_meta( get_the_ID(), 'desc', true ); ?></p>
- <h5 class="price"><?php echo get_post_meta( get_the_ID(), 'price', true ); ?></h5>
- <a href="<?php echo get_permalink( $id ); ?>" class="permalink">link to book's page</a>
- </div>
- <div class="clear"></div>
- </div><div class="goldshadow"></div>
- <?php endwhile; // End the loop. Whew. ?>
- <!--<div class="gold">
- <img src="images/thumbs/charlene_book.png" alt="Charlene and Friends" title="Charlene and Friends" class="thumb" />
- <div class="descbox">
- <h3 class="title">Charlene and Friends
- At Prospect Park</h3>
- <h4 class="author">W. H. Robinson</h4>
- <p class="desc">The Book summary will go here and will likely include at least four to five lines of summary text about the book and it’s plot or whatever else you’d like.</p>
- <h5 class="price">Book Price</h5>
- <a href="#" class="permalink">link to book's page</a>
- </div>
- <div class="clear"></div>
- </div><div class="goldshadow"></div> -->
- </div>
- <!-- RIGHT COLUMN -->
- <div id="cr">
- <div id="news"></div>
- <?php $news = new WP_Query('cat=4&posts_per_page=2'); ?>
- <?php while ($news->have_posts()) : $news->the_post(); ?>
- <div class="gold">
- <?php if (has_post_thumbnail( $post->ID ) ): ?>
- <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
- <a href="<?php echo get_permalink( $id ); ?>" class="permalink">
- <img src="<?php echo $image[0]; ?>" alt="Cherokee Leaves" title="Cherokee Leaves" class="thumb" border=0 /></a>
- <?php endif; ?>
- <div class="descbox">
- <h3 class="newstitle"><?php the_title(); ?></h3>
- <p class="desc"><?php echo get_post_meta( get_the_ID(), 'desc', true ); ?></p>
- <a href="<?php echo get_permalink( $id ); ?>" class="newslink">Read More</a>
- </div>
- <div class="clear"></div>
- </div><div class="goldshadow"></div>
- <?php endwhile; // End the loop. Whew. ?>
- <div class="gold">
- <img src="images/thumbs/charlene_book.png" alt="Charlene and Friends" title="Charlene and Friends" class="thumb" />
- <div class="descbox">
- <h3 class="title">Charlene and Friends
- At Prospect Park</h3>
- <h4 class="author">W. H. Robinson</h4>
- <p class="desc">The Book summary will go here and will likely include at least four to five lines of summary text about the book and it’s plot or whatever else you’d like.</p>
- <h5 class="price">Book Price</h5>
- <a href="#" class="permalink">link to book's page</a>
- </div>
- <div class="clear"></div>
- </div><div class="goldshadow"></div>
- </div>
- <div class="clear"></div>
- </div> </div>
Add Comment
Please, Sign In to add comment