Tell us what you are trying to do?
I would like to have a user driven search result listing. Once the user digs into the detail page I would like to let them to paginate (single detail page by single detail page) through the result set (that you can't see any more).
Is there any documentation that you are following?
Couldn't find anything quite like it.
Is there a similar example that we can see? lien caché
What is the link to your site?
This is the page with the filter - lien caché
The detail pages should have arrow navigation like they do on lien caché.
--
My initial thought is to create a detail page view that I had the a view parameters (but different output template) and pass along the query string parameters from the initial listing page?
(a) not sure that can actually work?
(b) is there a better way?
Hi Minesh, thank for the link. I had seen that and didn't find it relevant. I just re-read it and don't see any connection to my question. Let me try to clarify my question.
1. I would like show the user a listing page like lien caché
2. I want each detail page to allow the user back/next navigation within the result set that the user generated by using the filter as shown in step 1 above.
This can be seen (without filter options) when you click on any tile on lien caché to get to a detail page (e.g. lien caché) once on this detail page note the back/next arrow in the upper right to get to the next record.
Now, on this site there is no filter option so back/next goes through all records. I essentially want to adding filtering (done for listing) that carries through to navigation on detail pages.
1. I would like show the user a listing page like lien caché
=> Ok, So, the thing is that, custom search is not supported with User Type view. Custom search is only possible with only post type view and post type archives.
If you try to create custom search view with User type view, you will see the following notice displayed with "Custom Search Settings" section:
Only Views listing posts can have custom search inputs.
2. I want each detail page to allow the user back/next navigation within the result set that the user generated by using the filter as shown in step 1 above.
=> Yes, you can add pagination controls using "Search and Pagination" section but you can not add filters to filter the results.
1. I would like show the user a listing page like lien caché
=> It looks like I confused due to word "user a listing page" and I misunderstood somehow that you want to list users user listing page.
As I understand now:
- you have custom search view where you can filter the results
- you wish that prev-next links added to the single posts page should work within the search results (filtered results) - correct?
If yes, the thing is that, you can apply the pagination to your view, but on view, you added the items/posts which is when you click on it, it will be redirected to single post page where view's pagination will not have any controls as you are on single post page.
So, either its achieved if you can display one item per page using view's pagination, that means you do not need to go to single post page otherwise there is no such solution as on single page views control is lost and we do not know what are the filtered results as well as what is prev and next post of views filtered results when you are on single post page.
Thanks for the link, it's not quite the same but I'll create a shortcode and pass the query parameters and index of the clicked item to the detail page so I can navigate back and forth as suggested.