Pagination that includes “view all on one page”

You could use add_query_arg() and change $paged for the old query.

EDIT:

//  This should output 'http://example.com/?paged=no'
add_query_arg( 'paged', 'no', bloginfo('url') );

Then use get_query_var() to modify the output.

Leave a Comment