Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdillon/7c8bd2689eea520559272c75d2e6cfa5 to your computer and use it in GitHub Desktop.
Save cdillon/7c8bd2689eea520559272c75d2e6cfa5 to your computer and use it in GitHub Desktop.
<?php
/**
* Strong Testimonials - Single testimonial content
*
* For Spacious theme by ThemeGrill
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php do_action( 'spacious_before_post_content' ); ?>
<div class="entry-content clearfix">
<div class="testimonial-image"><?php the_post_thumbnail(); ?></div>
<div class="testimonial-content"><?php the_content(); ?></div>
<div class="testimonial-client">
<div class="testimonial-name"><?php wpmtst_field( 'client_name' ); ?></div>
<div class="testimonial-company"><?php wpmtst_field( 'company_name' ); ?></div>
</div>
<div class="clearfix"></div>
<?php
$spacious_tag_list = get_the_tag_list( '', '&nbsp;&nbsp;&nbsp;&nbsp;', '' );
wp_link_pages( array (
'before' => '<div style="clear: both;"></div><div class="pagination clearfix">' . __( 'Pages:', 'spacious' ),
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
) );
?>
</div>
<?php spacious_entry_meta(); ?>
<?php
do_action( 'spacious_after_post_content' );
?>
</article>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment