I am trying to find a way to get the current page number of an article that has been splitted into several pages with the use of:
<!-- nextpage -->
There is an example that can be found here: http://codex.wordpress.org/Conditional_Tags#Testing_for_paginated_Pages
But this doesn't work for me – it always returns 0:
$paged = $wp_query->get( 'paged' ); echo $paged;
Any idea? Thank you!