Print all content of a paged post

One way to acheive this is to create a filter on the_content(); This will completely stop the <!–nextpage–> shortcode from working wherever the_content(); is called in your theme – i.e. on all posts You can add the filter by adding this to your functions file: function remove_page_144242($content){ global $post; // Accesses the post content while … Read more

Disable pagination in posts and pages

function wpse_disable_pagination( $query ) { if( $query->is_single() && $query->is_page() ) { $query->set( ‘nopaging’ , true ); } } add_action( ‘pre_get_posts’, ‘wpse_disable_pagination’ ); NOTE: nopaging (boolean) – show all posts or use pagination. Default value is ‘false’, use paging.