How can I show pagination on a custom template using the following query?
$args = array (
'post_type' => 'post',
'posts_per_page' => '24',
'pagination' => true,
'tax_query' => array(
array(
'taxonomy' => 'category',
'field' => 'term_id',
'terms' => $mh_terms
)
)
);
Also, I use this at end of the while loop:
next_posts_link();
previous_posts_link();