File manager - Edit - /home/monara/public_html/Hotel_Sapphire_redesign/wp-content/themes/zante-child/page.php
Back
<?php get_header(); ?> <!-- PAGE HEADER --> <?php get_template_part('../zante/templates/elements/page-header') ?> <?php $page_sidebar = get_post_meta( get_the_ID(), 'zante_mtb_page_sidebar', true); if ( $page_sidebar == 'none' || !is_active_sidebar('zante_default_sidebar') ) { $col_class = 'col-md-12'; } else { $col_class = 'col-md-9'; } ?> <!-- CONTENT --> <?php $page_padding = get_post_meta(get_the_ID(), 'zante_mtb_page_padding', true); if ($page_padding == '' ) { $page_padding = true; } ?> <?php if (!is_front_page() && !is_page('reservation')) { echo '<!-- start Search form script --> <div id="block-search"> <div id="be-search-form" class="be-container"> <a href="https://exely.com/" rel="nofollow" target="_blank">Hotel management software</a> </div> </div> <!-- end Search form script -->'; } ?> <main <?php if ( $page_padding == false ) :?> class="no-padding" <?php endif ?>> <div class="container"> <div class="row"> <!-- LEFT SIDEBAR --> <?php if ( $page_sidebar == 'left' ) : ?> <?php get_sidebar(); ?> <?php endif ?> <!-- CONTENT --> <div class="<?php echo esc_attr($col_class) ?> entry"> <?php while ( have_posts() ) : the_post(); ?> <!-- CONTENT --> <?php the_content(); ?> <div class="clearfix"></div> <?php wp_link_pages( array('before' => '<div class="zante-link-pages">', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>')); ?> <div class="clearfix"></div> <!-- COMMENTS --> <?php comments_template(); ?> <?php endwhile ?> </div> <!-- RIGHT SIDEBAR --> <?php if ( $page_sidebar == 'right' || $page_sidebar == '' ) : ?> <?php get_sidebar() ?> <?php endif ?> </div> </div> </main> <?php get_footer() ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings