On this page: hidden link I created a simple view for custom post that has only title and body.
On page load, you can see there are currently three rows of data. But eventually there will be thousands of rows of data. So how can I make it so, by default the page does not show any data until a search was entered?
The only way this one is possible is if you add the initial search for to a different page. This way when the user types in a value and hits search, they are taken to the results page.
This results page also has a filter so they can search from there as well.
In order to do this when you are adding the view to a page. Please select to insert the search form only.
Thank you Shane, I know what you mean. Here's what I did: hidden link
May I ask a follow up question? How do I limit or break the results in multiple pages? This is to prevent someone entering "000" which will output items between "000001" and "000999" which will be a disaster!
Hi, Shane is on public holiday so I am checking on his tickets. If you are not able to use the Pagination button above the Loop Editor, you must enable pagination in the Search and Pagination settings. See the attached screenshot. If you are not able to see the Search and Pagination settings panel in your View editor screen, scroll to the top right corner of the admin screen and click the "Screen Options" tab. You can activate the panel here.