HEX
Server: LiteSpeed
System: Linux server315.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: globfdxw (6114)
PHP: 8.1.34
Disabled: NONE
Upload Files
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();