'comic', //post type, I used 'product' 'post_status' => 'publish', // just tried to find all published post 'nopaging' => true, 'tax_query' => array( array( 'taxonomy' => 'collections', 'field' => 'id', 'terms' => 'collections' ) ) ); $collections_query = new WP_Query( $collections_args); $collections_post_count = (int)$collections_query->post_count; ?> 0 ): ?>

 

$blog_paged, //'posts_per_page' => 5, ); $blog_query = new WP_Query($blog_args); /* Start the Loop */ while ($blog_query->have_posts()): $blog_query->the_post(); /* * Include the Post-Type-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 Type name) and that will be used instead. */ get_template_part('template-parts/content', get_post_type()); endwhile; ?> '?blog_paged=%#%#blog-section', 'current' => $blog_paged, 'total' => $blog_query->max_num_pages, 'prev_text' => wp_kses(__('', 'toocheke'), array('i' => array('class' => array()))), 'next_text' => wp_kses(__('', 'toocheke'), array('i' => array('class' => array()))), 'add_args' => array('comics_paged' => $comics_paged), )); if ($blog_links): ?>