Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="grid_4 alpha" id="content1">
- <h3>Solo albums</h3>
- <?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
- <div class="recent-release"><h5 class="recent-release-title"><strong><?php the_title(); ?></a> [<?php the_time('d/m/y') ?>]</strong></h5>
- <?php if ( has_post_thumbnail() ) the_post_thumbnail( array( 80, 80 ), array( 'class' => 'alignleft') ); else { ?><?php } ?>
- <?php the_excerpt(__('Read on...','imseven')); ?>
- </div><div class="clear"> </div>
- <?php endwhile;?>
- <?php wp_reset_query(); ?>
- <p>These are the solo albums.</p>
- </div>
- <?php $loop = new WP_Query( array( 'post_type' => 'recentrelease', 'artists' => 'red-hot-chili-peppers', 'posts_per_page' => 10 ) ); ?>
- <div class="grid_4" id="content2">
- <h3>Red Hot Chili Peppers</h3>
- <?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
- <div class="recent-release"><h5 class="recent-release-title"><strong><?php the_title(); ?></a> [<?php the_time('d/m/y') ?>]</strong></h5>
- <?php if ( has_post_thumbnail() ) the_post_thumbnail( array( 80, 80 ), array( 'class' => 'alignleft') ); else { ?><?php } ?>
- <?php the_excerpt(__('Read on...','imseven')); ?>
- </div><div class="clear"> </div>
- <?php endwhile;?>
- <p>These are albums John did with RHCP.</p>
- </div>
- <?php $loop = new WP_Query( array( 'post_type' => 'recentrelease', 'posts_per_page' => 10 ) ); ?>
- <div class="grid_4 omega" id="content3">
- <h3>Collaborations</h3>
- <?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
- <div class="recent-release"><h5 class="recent-release-title"><strong><?php the_title(); ?></a> [<?php the_time('d/m/y') ?>]</strong></h5>
- <?php if ( has_post_thumbnail() ) the_post_thumbnail( array( 80, 80 ), array( 'class' => 'alignleft') ); else { ?><?php } ?>
- <?php the_excerpt(__('Read on...','imseven')); ?>
- </div><div class="clear"> </div>
- <?php endwhile;?>
- <p>These are the collaborations.</p>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement