Not Displaying Results
-
Hello,
First it wasn’t recognizing the results existed, and I removed these two lines and added the function to functions.php from your site:
global $query_string; query_posts( $query_string . '&posts_per_page=-1' );
Function from your site:
add_filter('post_limits', 'postsperpage'); function postsperpage($limits) { if (is_search()) { global $wp_query; $wp_query->query_vars['posts_per_page'] = 10; } return $limits; }
Now it recognizes the search, but no results are showing.
Here is a link to my search.php page
Thank you for your help.
- The topic ‘Not Displaying Results’ is closed to new replies.