HEX
Server: Apache
System: Linux p3plzcpnl504740.prod.phx3.secureserver.net 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User: l2pbkn5l6xav (4972877)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: /home/l2pbkn5l6xav/public_html/wp-content/themes/paropakar/page templates/testimonial-template.php
<?php
/*
Template Name: Client Testimonial
*/
?>

<?php get_header() ; ?>
<div id="testimonial">
    <section class="testimonial">
        <div class="container">
            <?php while( have_posts()) : the_post(); ?>
                <h1><?php the_title(); ?></h1>
                <h3><?php the_excerpt(); ?></h3>
            <?php endwhile; ?>
            <div class="row">
	            <?php
	            for( $paropakar_count = 1; $paropakar_count<=6; $paropakar_count++ ){
		            $paropakar_page = intval( get_theme_mod( 'paropakar_testimonial_setting_'.$paropakar_count) );
		            if ( 'page-none-selected' != $paropakar_page ) {
			            $paropakar_pages[] = $paropakar_page;
		            }
	            }
	            if( !empty($paropakar_pages) ){
		            $paropakar_page_query = new WP_Query( array(
			            'post_type' => 'page',
			            'post__in' => $paropakar_pages,
		            ));
	            }

	            ?>
                <?php while( $paropakar_page_query->have_posts() ) : $paropakar_page_query->the_post(); ?>
                    <div class="col-lg-4 col-md-6">
                        <div class="testimonial-content">
                            <img class="testimonial-image" src="<?php echo esc_url(get_the_post_thumbnail_url()); ?>" alt="<?php the_title(); ?>" >
                            <p><?php the_content(); ?></p>
                            <span><?php the_title(); ?></span>
                        </div>
                    </div>
                <?php endwhile;
                wp_reset_query(); ?>
            </div>
        </div>
    </section>
</div>

<?php get_footer() ; ?>