Files
sklep.elitex.pl/wp-content/themes/calla/single.php
2023-11-23 22:14:40 +01:00

29 lines
941 B
PHP

<?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(); ?>