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 8 years ago by
Trevor.
-
Trevor(Private) May 25, 2017 at 3:56 pm #111294
Is 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