Answer the question
In order to leave comments, you need to log in
Why isn't the entire selection of the loop being output?
Hello! There is a site on wordpress + woocommerce. Installed the Woo Gift : Advanced Woocommerce Gift Plugin plugin and faced this issue. In a request from the product database
$args_post = array('post_type' => 'product','posts_per_page'=>-1);
$loop_post = new WP_Query( $args_post );
Answer the question
In order to leave comments, you need to log in
Thank you all for your help! The error was in the plugin itself - the bracket was closed in the wrong place in the loop, but in another file
<pre>
print_r($loop_post);
</pre>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question