Forums › Forums › Search & Filter Pro › Combine a keyword search with user’s choice of custom field values
Tagged: acf, checkboxes, custom field
- This topic has 21 replies, 2 voices, and was last updated 4 years, 4 months ago by Trevor.
-
Trevor(Private) July 29, 2020 at 4:19 pm #254406
Using the Home page as the results page, without the
?sfid=4398
, is not possible, if you need to use the search.php template, no.Our demo page:
https://demo.searchandfilter.com/movies/
You will see is on the movies page. Movies is the custom Post Type, so the template in use for that page is the archives template for that post type, and not search.php.
If you have the blog on the home page, and you are searching
Posts
, then you can use the Post Type archives templates for posts for the results (that is what it will use).Anonymous(Private) July 29, 2020 at 4:35 pm #254413Hi Trevor – thanks for the demo (if you could ‘bottle’ this up – I might be able to pick it apart to understand better)
I’m using a custom page template (a page) on which is search form an a wp query to show some CPT posts
– and then I get my results by going to the search page to show the CPT posts that i searched for————————–
So what i will need to do is
Build my landing page on the relevant archive page (in this case … archive-nhs.php)
– your ‘https://demo.searchandfilter.com/movies/’But what/where is https://demo.searchandfilter.com/genre/action/?’
🙂
-
AuthorPosts