File: //home/globfdxw/www/wp-content/plugins/sermone/templates/shortcode/sermone-list.php
<?php
/**
* Sermone list
*
* @since 1.0.0
* @version 1.0.0
*/
?>
<div class="sermone-list-container <?php echo $atts[ 'classes' ] ?>">
<?php if( ! empty( $atts[ 'heading_text' ] ) ) : ?>
<h4 class="sermone-heading"><?php echo $atts[ 'heading_text' ] ?></h4>
<?php endif; ?>
<?php if ( $query->have_posts() ) :
$sermone_posts_classes = 'sermone-archive-style-' . $atts[ 'layout' ];
echo '<div id="sermone-post-list" class="'. $sermone_posts_classes .'">';
while ( $query->have_posts() ) : $query->the_post();
/**
* sermone_archive_post_item_loop hook.
*
* @see sermone_archive_post_item_loop - 20
*/
do_action( 'sermone_shortcode_post_item_loop', get_the_ID() );
endwhile;
echo '</div>';
endif; ?>
</div> <!-- .sermone-favorite-container -->
<?php wp_reset_query();