Pagination for Custom WP_Query not displaying page 2 results
Rather than try to wrestle with the default search query, I would take a different approach and create a custom search function. First, we add a new custom search query var, in this case search_var. Then we add a couple of rewrite rules so we can have URLs like: http://example.com/custom-search/1991/ http://example.com/custom-search/1991/page/2/ with this function: function … Read more