Search function to display certain number of results
-
I am modifying the search page to filter search results by posts and by pages. I have two while loops running in separate containers and an if( get_post_type() == ‘post’ ) or if( get_post_type() == ‘page’ ) to pull those results.
The function works but now I have to limit the results to show only 3. How do I go about with this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Search function to display certain number of results’ is closed to new replies.