Increase number of search results per page
-
Hello-
I have implemented a previously documented solution to increase the number of search results beyond 5 per page using the following code in functions.php:
add_filter('aws_posts_per_page','aws_posts_per_page'); function aws_posts_per_page( $num ) { return 12; }
This works, however it does not adjust the “breadcrumb” notification above the search results which still shows “Showing 1–5 of XX results”. How can this be adjusted to reflect the same number of max results as I have set in the code snippet? Thank you.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Increase number of search results per page’ is closed to new replies.