????

Your IP : 3.138.102.163


Current Path : /home2/morganrand/backup.morganrand.com/wp-content/themes/wanderfuls/
Upload File :
Current File : /home2/morganrand/backup.morganrand.com/wp-content/themes/wanderfuls/single-testimonials.php

<?php
/**
 * The template used for single testimonial posts.
 *
 * @package Wanderfuls WordPress Theme
 * @subpackage Templates
 */

get_header(); ?>

    <?php
    // If testimonials is disabled use single-other.php template instead
    if ( ! TB_TESTIMONIALS_IS_ACTIVE ) {
        get_template_part( 'single-other' );
        return;
    } ?>
    
    <div id="content-wrap" class="container clr">

        <?php tb_hook_primary_before(); ?>

        <div id="primary" class="content-area clr">

            <?php tb_hook_content_before(); ?>

            <div id="content" class="clr site-content">

                <?php tb_hook_content_top(); ?>

                <?php while ( have_posts() ) : the_post(); ?>

                    <article class="clr">

                        <div class="entry-content entry clr">

                            <?php if ( 'blockquote' == tb_get_mod( 'testimonial_post_style', 'blockquote' ) ) : ?>

                                <?php get_template_part( 'partials/testimonials/testimonials-entry' ); ?>

                            <?php else : ?>

                                <?php the_content(); ?>

                            <?php endif; ?>

                        </div><!-- .entry-content -->

                    </article><!-- #post -->

                    <?php
                    // Displays comments if enabled
                    if ( tb_get_mod( 'testimonials_comments' ) && comments_open() ) : ?>

                        <section id="testimonials-post-comments" class="clr">
                            <?php comments_template(); ?>
                        </section><!-- #testimonials-post-comments -->

                    <?php endif; ?>

                <?php endwhile; ?>

                <?php tb_hook_content_bottom(); ?>

            </div><!-- #content -->

            <?php tb_hook_content_after(); ?>

        </div><!-- #primary -->

        <?php tb_hook_primary_after(); ?>

    </div><!-- .container -->

<?php get_footer();?>