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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhost/cosmicindrani.com/wp-content/themes/indrani/testimonials-page.php
<?php
/*
Template Name: Testimonials Page Template
*/
get_header();
?>
<?php
    while ( have_posts() ) :
    the_post();
?>
<?php require_once('template-parts/common-hero-section.php')?>
<section class="testimonialsSec maxwidth1150 mypy100">
    
    <div class="container">
        <h2 style="text-align: left">Corporate Testimonials</h2>
        <?php
			$testimonial = get_posts(array(
				'post_type' => 'corporate-testi',
				'post_status' => 'publish',
				'orderby' => 'date',
				'order' => 'ASC',
				'posts_per_page' => 300
			));

		if (!empty($testimonial)) : // Only display the slider section if there are posts
		?>
        <div class="row">
            <?php
                foreach ($testimonial as $testimonialListVal) {
                    $featuredImage = get_the_post_thumbnail_url($testimonialListVal->ID, 'full');
            ?>
            <div class="col-md-6 col-sm-12 text-center">
                <div class="testiBoxes">
                    <img src="<?php echo esc_url($featuredImage); ?>" class="img-fluid rounded-circle mb-2 m-auto" alt="Person Name">
                    <h5 class="mb-0"><?php echo get_the_title($testimonialListVal->ID); ?></h5>
                    <p class="text-muted mb-0"><?php echo get_field("domain", $testimonialListVal->ID); ?></p>
                    <p class="p-3 rounded">
                        <span>“</span> <?php echo get_the_content(null, false, $testimonialListVal->ID); ?> <span>”</span>
                    </p>
                </div>
            </div>
            <?php } ?>	
        </div>
        <?php endif; ?>
    </div>        
</section>
<section class="testimonialsSec maxwidth1150 mypy100">
    
    <div class="container">
        <h2 style="text-align: left">Other's Testimonials</h2>
        <?php
			$testimonial = get_posts(array(
				'post_type' => 'testimonial',
				'post_status' => 'publish',
				'orderby' => 'date',
				'order' => 'ASC',
				'posts_per_page' => 300
			));

		if (!empty($testimonial)) : // Only display the slider section if there are posts
		?>
        <div class="row">
            <?php
                foreach ($testimonial as $testimonialListVal) {
                    $featuredImage = get_the_post_thumbnail_url($testimonialListVal->ID, 'full');
            ?>
            <div class="col-md-6 col-sm-12 text-center">
                <div class="testiBoxes">
                    <img src="<?php echo esc_url($featuredImage); ?>" class="img-fluid rounded-circle mb-2 m-auto" alt="Person Name">
                    <h5 class="mb-0"><?php echo get_the_title($testimonialListVal->ID); ?></h5>
                    <p class="text-muted mb-0"><?php echo get_field("domain", $testimonialListVal->ID); ?></p>
                    <p class="p-3 rounded">
                        <span>“</span> <?php echo get_the_content(null, false, $testimonialListVal->ID); ?> <span>”</span>
                    </p>
                </div>
            </div>
            <?php } ?>	
        </div>
        <?php endif; ?>
    </div>        
</section>

<?php endwhile; ?>     
<?php get_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit