I have added the following custom loop in my Wordpress template:
$args = array(
\'category__not_in\' => array($featured_cat->term_id),
\'posts_per_
Not near a wordpress system to test this out at the mo, but you should be able to use:
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
(obviously defaulting to 1, if it has not been sent through).
This worked for me:
<?php echo '(Page '.$page.' of '.$wp_query->max_num_pages.')'; ?>
Use get_query_var('paged')
like this
<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$args = array('category__not_in' => array($featured_cat->term_id), 'posts_per_page' => 10, 'post__not_in' => array($recent_post), 'paged' => $paged );
query_posts($args);
?>
For 'Page x of y' I use this:
<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
echo $paged.' of '.$wp_query->max_num_pages;
?>
using variable $paged.
global $paged;
echo $paged;