How can I add page no in recent products in wordpress

Mystile Hello Sir, this is the link of the theme I want to add page number in recent products, So that when user click on page 2, more recent products would be shown and so on.


ANSWERS:


if you want pagination in recent posts use this code :

set you own variables in order by and order ..

<?php 
$paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
$pr_args = array(
    'post_type' => 'properties',
    'orderby' => 'post_date',
    'order' => 'DESC',
    'posts_per_page' => 10,
    'paged' => $paged,
    'meta_query' => ''); 

$the_query = new WP_Query($pr_args);
?>


 MORE:


 ? Sorry, no products matched your selection. Please choose a different combination woocommerece
 ? Sorry, no products matched your selection. Please choose a different combination woocommerece
 ? Sorry, no products matched your selection. Please choose a different combination woocommerece
 ? Woocommerce no products were found matching your selection
 ? Unable to change query values in wordpress query.php
 ? Unable to change query values in wordpress query.php
 ? Unable to change query values in wordpress query.php
 ? mysql slow queries and timeout in wordpress
 ? Troubleshooting Wordpress/Woocommerce custom SQL query for reporting
 ? wordpress instillation error read only mode