Wordpress
In order for pagination to work on the page of one post, you need to put this code in the functions.php file:
add_action( 'template_redirect', 'single_post_second_loop_pagingation_fix', 0 );
function single_post_second_loop_pagingation_fix() {
if ( is_singular( 'post' ) ) {
global $wp_query;
$page = ( int ) $wp_query->get( 'page' );
if ( $page > 1 ) {
$query->set( 'page', 1 );
$query->set( 'paged', $page );
}
remove_action( 'template_redirect', 'redirect_canonical' );
}
}
Further it is possible to fulfill any requests with pagination in single.php.
