0) $query_args['cat'] = implode(',', $blog_categories_array); $wp_query = new WP_Query($query_args); do_action('pk_before_blog'); do_action('pk_blog_categories'); if (have_posts() && $columns == 1) : while (have_posts()) : the_post(); (!get_post_format()) ? get_template_part('format', 'blog-standard') : get_template_part('format', 'blog-'.get_post_format()); endwhile; elseif (have_posts() && $columns > 1 && $grid == 'normal') : $c = 0; while (have_posts()) : $c++; the_post(); ?>