HEX
Server: Apache
System: Linux hp3-wp-1011494.hostingp3.local 3.10.0-1160.139.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Nov 3 13:30:41 UTC 2025 x86_64
User: csh2729955 (2121743)
PHP: 7.4.33
Disabled: shell_exec,exec,system,popen,set_time_limit
Upload Files
File: /home/storage/162/3480162/user/htdocs/wp-content/themes/hueman/parts/post-list-articles.php
<?php
/*  Print the post list articles. Runs the WP loop on the $wp_query object.
/* ------------------------------------ */
?>
<?php if ( hu_is_checked('blog-standard') ): ?>
  <div id="grid-wrapper" class="post-list-standard">
    <?php while ( have_posts() ): the_post(); ?>
      <?php get_template_part('content-standard'); ?>
    <?php endwhile; ?>
  </div>
<?php else: ?>
  <div id="grid-wrapper" class="<?php echo implode( ' ', apply_filters('hu_classic_grid_wrapper_classes', array( 'post-list group') ) ) ?>">
    <?php
      $columns = apply_filters( 'hu_grid_columns', 2 );
      global $wp_query;
      while ( have_posts() ): the_post();
      if ( 0 == $wp_query->current_post || 0 == $wp_query->current_post % $columns ) { echo '<div class="post-row">'; }
    ?>
        <?php get_template_part('content'); ?>
    <?php if( $wp_query->current_post == $wp_query -> post_count - 1  ||  ( $wp_query->current_post + 1 ) % $columns == 0 ) { echo '</div>'; }; endwhile; ?>
  </div><!--/.post-list-->
<?php endif; ?>

<?php hu_get_template_part('parts/pagination'); ?>