'product', 'posts_per_page' => $products_per_page, 'paged' => $paged ); // Get the products $products = new WP_Query($args); // Start the Loop if ($products->have_posts()) : echo '
'; // Pagination echo '
'; // Reset the post data wp_reset_postdata(); else : echo '

' . esc_html__('No products found', 'asthir') . '

'; endif;