[wp-hackers] Known when on Comment page x?

Otto otto at ottodestruct.com
Mon Dec 15 18:25:13 GMT 2008

On Mon, Dec 15, 2008 at 11:38 AM, Peter van der Does
<peter at avirtualhome.com> wrote:
> Is there a way to determine on which page I am?

This code will get the current comments page number.

$page = get_query_var('cpage');
if (!$page) $page = 1;

More information about the wp-hackers mailing list