| 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 : |
<section class="homeAbt mypy100">
<div class="container maxwidth1150 ">
<div class="row ">
<div class="col-md-6">
<div class="lftSec">
<img src="<?php echo get_field( 'about_image', $post_id ); ?>" alt="<?php echo get_field( 'about_title', $post_id ); ?>" class="img-fluid" style="max-width: 440px">
</div>
</div>
<div class="col-md-6">
<div class="rgtSec">
<h2><?php echo get_field( 'about_title', $post_id ); ?></h2>
<img src="<?php echo get_field( 'about_title_divider', $post_id ); ?>" alt="<?php echo get_field( 'about_title', $post_id ); ?>" class="divider">
<?php echo get_field( 'about_description', $post_id ); ?>
<?php
// Get field values
$button_url = get_field('about_button_url', $post_id);
$button_name = get_field('about_button_name', $post_id);
// Check if both fields have values
if (!empty($button_url) && !empty($button_name)) : ?>
<a class="btn btnRed" href="<?php echo esc_url($button_url); ?>">
<?php echo esc_html($button_name); ?>
</a>
<?php endif; ?>
</div>
</div>
</div>
</div>
</section>
<?php if (is_page('about-me')) : ?>
<section class="moreAbtSec mypy100">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="philosophy_Section">
<h4><?php echo get_field( 'philosophy_title', $post_id ); ?></h4>
<p><?php echo get_field( 'philosophy_content', $post_id ); ?></p><br /><br />
<h4><?php echo get_field( 'credentials_title', $post_id ); ?></h4>
<?php echo get_field( 'credentials_description', $post_id ); ?>
</div>
</div>
</div>
</div>
</section>
<?php endif; ?>