M
M
Muxammadislom Eshonqulov2021-09-17 15:28:58
WordPress
Muxammadislom Eshonqulov, 2021-09-17 15:28:58

How to display waving WP_Query | woocomerce product rating wishlist button?

Good time.
With the help of WP_Query I display products.

$args = array(
            'post_type' => array( 'product'),
             'posts_per_page' => -1
        );
        $query = new WP_Query( $args );
        
        while ( $query->have_posts() ) :
            $query->the_post();
            echo(the_title());
        endwhile;


How can I display the add to favorites button and product rating?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question