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/user-favorite.php
<?php 
/**
 * User favorite template 
 * 
 * @since 1.0.0
 * @version 1.0.0
 */

?>
<div class="sermone-favorite-container <?php echo $atts[ 'classes' ] ?>">
  <?php if( ! empty( $atts[ 'heading_text' ] ) ) : ?>
  <h4 class="sermone-heading"><?php echo $atts[ 'heading_text' ] ?> <sup>(<?php echo $query->post_count ?>)</sup></h4>
  <?php endif; ?>
  <?php if ( $query->have_posts() ) :
    $sermone_posts_classes = sermone_archive_posts_classes();
    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();