| 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/i/n/s/institutah/www/wp-content/themes/makali/page-templates/ |
Upload File : |
<?php
$_SESSION["preset"] = 15;
/**
* Template Name: Demo 15
*
* 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
* @since Makali 1.0
*/
?>
<!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<?php global $makali_opt; ?>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php
$jscomposer_templates_args = array(
'orderby' => 'title',
'order' => 'ASC',
'post_type' => 'templatera',
'post_status' => 'publish',
'posts_per_page' => 100,
);
$jscomposer_templates = get_posts( $jscomposer_templates_args );
if(count($jscomposer_templates) > 0) {
foreach($jscomposer_templates as $jscomposer_template){
if($jscomposer_template->post_title == 'Header 5' || $jscomposer_template->post_title == 'Footer 1'){
$jscomposer_template_css = get_post_meta ( $jscomposer_template->ID, '_wpb_shortcodes_custom_css', false );
if(isset($jscomposer_template_css[0])){
echo '<style>'.esc_html($jscomposer_template_css[0]).'</style>';
}
}
}
} ?>
<?php wp_head(); ?>
</head>
<body <?php body_class('home'); ?>>
<div id="yith-wcwl-popup-message" style="display:none;"><div id="yith-wcwl-message"></div></div>
<div class="wrapper">
<div class="page-wrapper">
<div class="header-container header-5 demo-15 rs-active">
<div class="header">
<div class="header-content">
<?php
if ( isset($makali_opt['header_layout']) && $makali_opt['header_layout']!="") {
$jscomposer_templates_args = array(
'orderby' => 'title',
'order' => 'ASC',
'post_type' => 'templatera',
'post_status' => 'publish',
'posts_per_page' => 100,
);
$jscomposer_templates = get_posts( $jscomposer_templates_args );
if(count($jscomposer_templates) > 0) {
foreach($jscomposer_templates as $jscomposer_template){
if($jscomposer_template->post_title == 'Header 5'){
?>
<div class="header-composer">
<?php
echo do_shortcode(apply_filters( 'the_content', $jscomposer_template->post_content ));
?>
</div>
<?php
}
}
}
// header mobile
if ( isset($makali_opt['header_mobile_layout']) && $makali_opt['header_mobile_layout'] != "") {
if(count($jscomposer_templates) > 0) {
foreach($jscomposer_templates as $jscomposer_template){
if($jscomposer_template->post_title == 'Header Mobile 1'){ ?>
<div class="header-mobile">
<div class="container">
<?php
echo do_shortcode(apply_filters( 'the_content', $jscomposer_template->post_content ));
?>
</div>
</div>
<?php }
}
}
}
}
?>
</div>
</div>
<div class="clearfix"></div>
</div>
<div class="main-container">
<div class="front-page">
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-content">
<?php the_content(); ?>
</div>
</article>
<?php endwhile; ?>
</div>
</div>
<div class="footer footer-1">
<div class="footer-inner">
<?php
if ( isset($makali_opt['footer_layout']) && $makali_opt['footer_layout']!="" ) {
$jscomposer_templates_args = array(
'orderby' => 'title',
'order' => 'ASC',
'post_type' => 'templatera',
'post_status' => 'publish',
);
$jscomposer_templates = get_posts( $jscomposer_templates_args );
if(count($jscomposer_templates) > 0) {
foreach($jscomposer_templates as $jscomposer_template){
if($jscomposer_template->post_title == 'Footer 1'){
echo do_shortcode(apply_filters( 'the_content', $jscomposer_template->post_content ));
}
}
}
}
?>
</div>
</div>
</div><!-- .page -->
</div><!-- .wrapper -->
<!--<div class="makali_loading"></div>-->
<div id="back-top"></div>
<?php wp_footer(); ?>
</body>
</html>
<?php unset($_SESSION["preset"]); ?>