| Server IP : 51.91.236.193 / Your IP : 216.73.216.224 Web Server : Apache System : Linux webm010.cluster128.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : institutah ( 16501) PHP Version : 7.2.34 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/institutah/www/wp-content/themes/makali/page-templates/ |
Upload File : |
<?php
/**
* Template Name: Contact Template
*
* Description: A page template that provides a key component of WordPress as a CMS
* by meeting the need for a carefully crafted introductory page. The front page template
* in Makali consists of a page content area for adding text, images, video --
* anything you'd like -- followed by front-page-only widgets in one or two columns.
*
* @package WordPress
* @subpackage Makali_Theme
* @since Makali 1.0
*/
$makali_opt = get_option( 'makali_opt' );
get_header();
?>
<div class="main-container contact-page">
<div class="breadcrumb-container">
<div class="container">
<?php Makali_Class::makali_breadcrumb(); ?>
</div>
</div>
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-content">
<?php the_content(); ?>
</div><!-- .entry-content -->
</article><!-- #post -->
<?php endwhile; // end of the loop. ?>
<!-- brand logo -->
<?php
if(isset($makali_opt['inner_brand']) && function_exists('makali_brands_shortcode') && shortcode_exists( 'Makali' ) ){
if($makali_opt['inner_brand'] && isset($makali_opt['brand_logos'][0]) && $makali_opt['brand_logos'][0]['thumb']!=null) { ?>
<div class="inner-brands">
<div class="container">
<?php if(isset($makali_opt['inner_brand_title']) && $makali_opt['inner_brand_title']!=''){ ?>
<div class="title">
<h3><?php echo esc_html( $makali_opt['inner_brand_title'] ); ?></h3>
</div>
<?php } ?>
<?php echo do_shortcode('[Makali]'); ?>
</div>
</div>
<?php }
}
?>
<!-- end brand logo -->
</div>
<?php
if(isset($makali_opt['enable_map']) && $makali_opt['enable_map']) :
//Add google map API
wp_enqueue_script( 'gmap-api-js', 'http://maps.google.com/maps/api/js?sensor=false' , array(), '3', false );
// Add jquery.gmap.js file
wp_enqueue_script( 'jquery.gmap-js', get_template_directory_uri() . '/js/jquery.gmap.js', array(), '2.1.5', false );
$map_desc = str_replace(array("\r\n", "\r", "\n"), "<br />", $makali_opt['map_desc']);
$map_desc = addslashes($map_desc);
?>
<?php endif; ?>
<?php get_footer('contact'); ?>