I'm seperating long posts using
<!--nextpage--> but need to output user comments only on the last 'page' of a post. I can't find a way of counting the number of paginated pages and then outputting if page == last page.
Any help is appreciated
how can i use ugly slugs in wordpress using non-western character?
1:Looking For a “Camera Flash” like Page Transition
You must check withrandom custom field wordpress
$wp_query->query_vars['page']. How can I display posts from the other sites in a WordPress multisite setup? On the first page, this value won't exists, whereas on the subsequent pages it will be set with the current page number.. Active menu state in wordpress
$currentPage = isset($wp_query->query_vars['page']) ? (int)$wp_query->query_vars['page'] : 1;