Current File : /home/pacjaorg/www/grants -mzee/wp-content/themes/wihelp/loop.php
<?php
/**
 * The loop template file.
 *
 * Included on pages like index.php, archive.php and search.php to display a loop of posts
 * Learn more: https://codex.wordpress.org/The_Loop
 *
 * @package wihelp
 */

do_action('wihelp_loop_before');

$blog_style  = wihelp_get_theme_option('blog_style');
$columns     = wihelp_get_theme_option('blog_columns');
$check_style = $blog_style && $blog_style !== 'standard';
if ($check_style) {
    echo '<div class="blog-style-grid" data-elementor-columns="' . esc_attr($columns) . '">';
}

while (have_posts()) :
    the_post();

    /**
     * Include the Post-Format-specific template for the content.
     * If you want to override this in a child theme, then include a file
     * called content-___.php (where ___ is the Post Format name) and that will be used instead.
     */
    if ($check_style) {
        get_template_part('template-parts/posts-grid/item-post-'.$blog_style);
    } else {
        get_template_part('content', get_post_format());
    }

endwhile;

if ($check_style) {
    echo '</div>';
}

/**
 * Functions hooked in to wihelp_loop_after action
 *
 * @see wihelp_paging_nav - 10
 */
do_action('wihelp_loop_after');
Site is undergoing maintenance

PACJA Events

Maintenance mode is on

Site will be available soon. Thank you for your patience!