File "full-width.php"
Full Path: /home/shadsolw/public_html/wp-content/themes/aalto/full-width.php
File size: 1.07 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/*
Template Name: Full Width Template
*/
?>
<?php
$edgtf_sidebar_layout = aalto_edge_sidebar_layout();
get_header();
aalto_edge_get_title();
get_template_part( 'slider' );
do_action('aalto_edge_before_main_content');
?>
<div class="edgtf-full-width">
<?php do_action( 'aalto_edge_after_container_open' ); ?>
<div class="edgtf-full-width-inner">
<?php do_action( 'aalto_edge_after_container_inner_open' ); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="edgtf-grid-row">
<div <?php echo aalto_edge_get_content_sidebar_class(); ?>>
<?php
the_content();
do_action( 'aalto_edge_page_after_content' );
?>
</div>
<?php if ( $edgtf_sidebar_layout !== 'no-sidebar' ) { ?>
<div <?php echo aalto_edge_get_sidebar_holder_class(); ?>>
<?php get_sidebar(); ?>
</div>
<?php } ?>
</div>
<?php endwhile; endif; ?>
<?php do_action( 'aalto_edge_before_container_inner_close' ); ?>
</div>
<?php do_action( 'aalto_edge_before_container_close' ); ?>
</div>
<?php get_footer(); ?>