diff --git a/includes/class-wc-shortcodes.php b/includes/class-wc-shortcodes.php index 2d319f44c9d..27d90b3a1b6 100644 --- a/includes/class-wc-shortcodes.php +++ b/includes/class-wc-shortcodes.php @@ -172,6 +172,8 @@ class WC_Shortcodes { if ( $products->have_posts() ) : ?> + + have_posts() ) : $products->the_post(); ?> @@ -182,6 +184,8 @@ class WC_Shortcodes { + +