Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $quotes = new WP_Query('post_type=quotes&posts_per_page=1&orderby=rand' );
- if($quotes->have_posts()) : while($quotes->have_posts()) : $quotes->the_post(); ?>
- <blockquote><?php the_content(); ?>
- <p class="attribution">—<?php the_title(); ?></p>
- </blockquote>
- <?php endwhile; endif; ?>
Add Comment
Please, Sign In to add comment