Forums › Forums › Search & Filter Pro › Redirecting to Homepage, Category Separation & Search before hitting Submit!
- This topic has 14 replies, 2 voices, and was last updated 7 years, 5 months ago by Trevor.
-
Anonymous(Private) May 23, 2017 at 8:34 am #110570
Hi there!
Ok, so I got the basic functionalities to work (woo!). Now I just need some help with a few things please!
1 – When I conduct a search, it redirects to the homepage. The search results display underneath the home slider and the 3 call to action boxes. Ideally, I would like for the results to display on the same page, or a new page (without the slider and CTA boxes).
2 – The search function works, however it searches automatically after selecting one box. Before results are filtered, users should be able to check as many boxes as they need and then bring up relevant results.
3 – I would like to have 3 different search headings. 1 – Age Range. 2 – Activity Type. 3 – Materials. currently, I have the age and activity set into categories and the materials into tags. I would prefer a way to seperate all 3 search criteria easily.
4 – Is there a way to have this display horizontally instead of vertically?
I appreciate your help! The url for the site is http://www.sicilysheartandhome.com/search
Trevor(Private) May 25, 2017 at 3:56 pm #111294Is it just the checkboxes that need to be horizontal? Instead, then, this might work:
.searchandfilter ul > li > ul:not(.children) { padding-left: 0; } .searchandfilter > ul > li > ul > li { display: inline-block; } .searchandfilter > ul > li > ul > li .sf-label-checkbox { margin-right: 20px; }
Trevor(Private) May 26, 2017 at 2:57 pm #111457So, I took a look at the re-directing issue and it is because your theme in our As an Archive display method mode is doing that. Given the theme, I suspect that the only method that will work is our Shortcode method. See the documentation here (please make sure that you follow it):
https://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/
Before you do this, however, you are currently using the main theme as your theme, whereas you should be using a child theme in WordPress. Install this plugin to make one for you, and then remove the plugin as you won’t then need it:
https://wordpress.org/plugins/orbisius-child-theme-creator/
Be VERY careful what you call the theme. I would call it:
SicilysHeart
Then any changes you make to the theme you should do to the child theme. This means that anything you do won’t be overwritten by theme updates.
Anonymous(Private) May 29, 2017 at 7:43 am #111751Hi there!
Thanks so much for your patience, I think I have everything figured out for the most part. I was able to use your code to create the check boxes horizontal (thank you). I updated to use the shortcode instead of archive, which fixed the redirect issue.
However, now on the search form itself I am having two issues:
1 – it displays the posts that are included without clicking any checkboxes.
2 – When I do click the checkboxes, it’s only showing one post when it should be showing 2-3 based on the checkboxes I am selecting.
If we can check these two things to work, we will be good to go! Apologies as I am no coding wiz, and you help is more than appreciated 🙂
-
AuthorPosts