Skip to content

Instantly share code, notes, and snippets.

@cdillon
Created April 21, 2016 17:24
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/24cd05176a49fdae62ca97252ca0028b to your computer and use it in GitHub Desktop.
Save cdillon/24cd05176a49fdae62ca97252ca0028b to your computer and use it in GitHub Desktop.
<?php
/**
* Strong Testimonials - Single post section
*
* For Spacious theme by ThemeGrill
*/
?>
<?php get_header(); ?>
<?php do_action( 'spacious_before_body_content' ); ?>
<div id="primary">
<div id="content" class="clearfix">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'single-wpm-testimonial' ); ?>
<?php get_template_part( 'navigation', 'archive' ); ?>
<?php
do_action( 'spacious_before_comments_template' );
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() )
comments_template();
do_action ( 'spacious_after_comments_template' );
?>
<?php endwhile; ?>
</div><!-- #content -->
</div><!-- #primary -->
<?php spacious_sidebar_select(); ?>
<?php do_action( 'spacious_after_body_content' ); ?>
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment