first commit
This commit is contained in:
35
wp-content/themes/calla/full-width.php
Normal file
35
wp-content/themes/calla/full-width.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: Full Width Template
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
$eltdf_sidebar_layout = calla_elated_sidebar_layout();
|
||||
|
||||
get_header();
|
||||
calla_elated_get_title();
|
||||
get_template_part( 'slider' );
|
||||
do_action('calla_elated_before_main_content');
|
||||
?>
|
||||
|
||||
<div class="eltdf-full-width">
|
||||
<?php do_action( 'calla_elated_after_container_open' ); ?>
|
||||
<div class="eltdf-full-width-inner">
|
||||
<?php do_action( 'calla_elated_after_container_inner_open' ); ?>
|
||||
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
||||
<div class="eltdf-grid-row">
|
||||
<div <?php echo calla_elated_get_content_sidebar_class(); ?>>
|
||||
<?php
|
||||
the_content();
|
||||
do_action( 'calla_elated_page_after_content' );
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; endif; ?>
|
||||
<?php do_action( 'calla_elated_before_container_inner_close' ); ?>
|
||||
</div>
|
||||
|
||||
<?php do_action( 'calla_elated_before_container_close' ); ?>
|
||||
</div>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
Reference in New Issue
Block a user