trAvis - MANAGER
Edit File: landing-page.php
<?php /* Template Name: Landing Page */ $barista_edge_variable_sidebar = barista_edge_sidebar_layout(); ?> <!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <?php /** * barista_edge_header_meta hook * * @see barista_edge_header_meta() - hooked with 10 * @see edgt_user_scalable_meta() - hooked with 10 */ if (!barista_edge_is_ajax_request()) do_action('barista_edge_header_meta'); ?> <?php if (!barista_edge_is_ajax_request()) wp_head(); ?> </head> <body <?php body_class();?> itemscope itemtype="http://schema.org/WebPage"> <?php if(barista_edge_options()->getOptionValue('smooth_page_transitions') == "yes") { $barista_edge_variable_ajax_class = 'edgtf-mimic-ajax'; ?> <div class="edgtf-smooth-transition-loader <?php echo esc_attr($barista_edge_variable_ajax_class); ?>"> <div class="edgtf-st-loader"> <div class="edgtf-st-loader1"> <?php barista_edge_loading_spinners(); ?> </div> </div> </div> <?php } ?> <div class="edgtf-wrapper"> <div class="edgtf-wrapper-inner"> <div class="edgtf-content"> <?php if(barista_edge_is_ajax_enabled()) { ?> <div class="edgtf-meta"> <?php do_action('barista_edge_ajax_meta'); ?> <span id="edgtf-page-id"><?php echo esc_html(get_queried_object_id()); ?></span> <div class="edgtf-body-classes"><?php echo esc_html(implode( ',', get_body_class())); ?></div> </div> <?php } ?> <div class="edgtf-content-inner"> <?php get_template_part( 'title' ); ?> <?php get_template_part('slider');?> <div class="edgtf-full-width"> <div class="edgtf-full-width-inner"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php if(($barista_edge_variable_sidebar == 'default')||($barista_edge_variable_sidebar == '')) : ?> <?php the_content(); ?> <?php do_action('barista_edge_page_after_content'); ?> <?php elseif($barista_edge_variable_sidebar == 'sidebar-33-right' || $barista_edge_variable_sidebar == 'sidebar-25-right'): ?> <div <?php echo barista_edge_sidebar_columns_class(); ?>> <div class="edgtf-column1 edgtf-content-left-from-sidebar"> <div class="edgtf-column-inner"> <?php the_content(); ?> <?php do_action('barista_edge_page_after_content'); ?> </div> </div> <div class="edgtf-column2"> <?php get_sidebar(); ?> </div> </div> <?php elseif($barista_edge_variable_sidebar == 'sidebar-33-left' || $barista_edge_variable_sidebar == 'sidebar-25-left'): ?> <div <?php echo barista_edge_sidebar_columns_class(); ?>> <div class="edgtf-column1"> <?php get_sidebar(); ?> </div> <div class="edgtf-column2 edgtf-content-right-from-sidebar"> <div class="edgtf-column-inner"> <?php the_content(); ?> <?php do_action('barista_edge_page_after_content'); ?> </div> </div> </div> <?php endif; ?> <?php endwhile; ?> <?php endif; ?> </div> </div> </div> </div> </div> </div> <?php wp_footer(); ?> </body> </html>