Skip to content

Instantly share code, notes, and snippets.

@fitzhaile fitzhaile/*.php
Last active Dec 12, 2015

What would you like to do?
WP: Typical Testimonials Markup
<?php $testimonials = new WP_Query('post_type=testimonial'.ks_query('testimonials')); ?>
<div class="testimonials">
<?php while( $testimonials->have_posts() ): $testimonials->the_post(); ?>
<blockquote class="testimonial">
<?php the_content(); ?>
<?php the_title(); ?>
<?php endwhile; ?>
<?php wp_reset_query(); ?>
</div><!-- /.testimonials -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.