File: /www/wwwroot/ahmsolaiman.com/wp-content/themes/ahm/page-contact.php
<?php
// Exit if accessed directly
if (!defined('ABSPATH')) exit;
/**
*Full Content Template
Template Name: Contact
*@file page-contact.php
*@package ahm
*@author Md Rabiul Islam Robin
*@copyright 2025
*@license
*@version 1.0
*@filesource ahm/page-contact.php
*@since ahm 1.0
*/
get_header();
?>
<!-----------------------------------------------
Contact Header
------------------------------------------------->
<section>
<div
class="breadcrumb-wrapper fix"
style="background-image: url(<?php echo get_template_directory_uri(); ?>/image/contact\ bg.jpg)"
id="contact-page">
<div class="star-shape-c float-bob-x">
<img src="image/star.png" alt="" />
</div>
<div class="container">
<div class="row">
<div class="page-heading">
<h2>
Contact Me
</h2>
<ul class="breadcrumb-list">
<li><a href="<?php echo home_url(); ?>">Home</a></li>
<li><i class="fa-solid fa-angle-right"></i></li>
<li>Contact
</li>
</ul>
</div>
</div>
</div>
</div>
</section>
<!-----------------------------------------------
Contact Content
------------------------------------------------->
<section class="contact-section fix">
<div class="container">
<div class="row g-4 d-lg-flex align-items-center">
<div class="col-lg-6">
<div class="cotact-wrapper">
<div class="c-s-title">
<h2><?php echo get_post_meta($post->ID, 'wpcf-heading-contact', true); ?></h2>
<p>
<?php echo get_post_meta($post->ID, 'wpcf-sub-heading-contact', true); ?>
</p>
</div>
<div class="contact-item-wrapper">
<div class="contact-item d-flex align-items-center gap-4">
<div class="icon"><i class="fa-solid fa-phone"></i></div>
<div class="content">
<span>Call Now</span>
<h6><?php echo 'get_post_meta'($homeId, 'wpcf-office-phone', true); ?></h6>
</div>
</div>
<div class="contact-item d-flex align-items-center gap-4">
<div class="icon"><i class="fa-solid fa-envelope"></i></div>
<div class="content">
<span>Email</span>
<h6><?php echo 'get_post_meta'($homeId, 'wpcf-office-e-mail', true); ?></h6>
</div>
</div>
<div class="contact-item d-flex align-items-center gap-4">
<div class="icon"><i class="fa-solid fa-map-location-dot"></i></div>
<div class="content">
<span>Address</span>
<h6><?php echo 'get_post_meta'($homeId, 'wpcf-office-location', true); ?></h6>
</div>
</div>
</div>
<div class="social-info d-flex align-items-center gap-4">
<div class="text-s">Social-</div>
<ul class="social-list">
<li>
<a href="<?php echo 'get_post_meta'($homeId, 'wpcf-facebook-url', true); ?>" target="_blank"><i class="fa-brands fa-facebook-f"></i></a>
</li>
<li>
<a href="<?php echo 'get_post_meta'($homeId, 'wpcf-twitter-url', true); ?>" target="_blank"><i class="fa-brands fa-twitter"></i></a>
</li>
<li>
<a href="<?php echo 'get_post_meta'($homeId, 'wpcf-instagram-url', true); ?>" target="_blank"><i class="fa-brands fa-instagram"></i></a>
</li>
<li>
<a href="<?php echo 'get_post_meta'($homeId, 'wpcf-youtube-url', true); ?>" target="_blank"><i class="fa-brands fa-youtube"></i></a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="map-wrapper">
<iframe src="<?php echo get_post_meta($post->ID, 'wpcf-location-contact', true); ?>"></iframe>
</div>
</div>
</div>
</div>
</section>
<!-----------------------------------------------
Contact Form Part
------------------------------------------------->
<section class="contact-form-section fix">
<div class="container">
<div class="form-container">
<h3>Get In Touch</h3>
<div class="form-wrapper">
<div class="contact-box">
<?php echo do_shortcode('[contact-form-7 id="f480b2a" title="Contact form 1"]'); ?>
</div>
</div>
</div>
</div>
</section>
<?php get_footer(); ?>