first commit
This commit is contained in:
29
wp-content/themes/calla/single.php
Normal file
29
wp-content/themes/calla/single.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
get_header();
|
||||
calla_elated_get_title();
|
||||
get_template_part( 'slider' );
|
||||
do_action('calla_elated_before_main_content');
|
||||
|
||||
if ( have_posts() ) : while ( have_posts() ) : the_post();
|
||||
//Get blog single type and load proper helper
|
||||
calla_elated_include_blog_helper_functions( 'singles', 'standard' );
|
||||
|
||||
//Action added for applying module specific filters that couldn't be applied on init
|
||||
do_action( 'calla_elated_blog_single_loaded' );
|
||||
|
||||
//Get classes for holder and holder inner
|
||||
$eltdf_holder_params = calla_elated_get_holder_params_blog();
|
||||
?>
|
||||
|
||||
<div class="<?php echo esc_attr( $eltdf_holder_params['holder'] ); ?>">
|
||||
<?php do_action( 'calla_elated_after_container_open' ); ?>
|
||||
|
||||
<div class="<?php echo esc_attr( $eltdf_holder_params['inner'] ); ?>">
|
||||
<?php calla_elated_get_blog_single( 'standard' ); ?>
|
||||
</div>
|
||||
|
||||
<?php do_action( 'calla_elated_before_container_close' ); ?>
|
||||
</div>
|
||||
<?php endwhile; endif;
|
||||
|
||||
get_footer(); ?>
|
||||
Reference in New Issue
Block a user