Forums › Forums › Search & Filter Pro › Edit result.php to more columns
- This topic has 3 replies, 3 voices, and was last updated 9 years, 6 months ago by
Ross.
-
Anonymous(Private) November 15, 2015 at 4:15 pm #29879
Can you please give a tutorial on how to set the result.php to 2 or more columns-layout? I looked in the support forum already but I can’t seem to figure this out with the already provided information.
I do not want to use the archive way for this, because AJAX does not work like I want to.
Please help.Ross Moderator(Private) November 16, 2015 at 6:24 pm #29959Hi Rutger
Customising your template is really upto you.
If you can build a layout in WordPress, you can build a layout in S&F – its exactly the same – I think it would be a good idea to get more familiar with WordPress and templates in general if you want to build the layout yourself.
So first you would want to follow the instructions here:
http://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/
And ensure to follow the step about customising results and copying the template file in to your theme folder.
Now you know which file to edit and should apply regular WordPress template logic.
Here are some resources I found after a quick google search:
http://spruce.it/noise/good-old-2-column-loop-in-wordpres/
http://www.cre8d-design.com/2008/03/how-to-organize-posts-into-two-side-by-side-columns-in-wordpress/
https://www.nosegraze.com/display-wordpress-posts-2-3-columns/Thanks
Ross Moderator(Private) July 3, 2016 at 10:34 pm #50115Hey Oliver
You can use avada’s search template to show results, which I think by default shows results in a grid / columns…
However, avada adds a check on the template, to show a “no results found” message if there isn’t a search term so you will need to:
1) In S&F set the display mode to Archive
2) Set the custom template filename tosearch.php
3) Then Modify the Avada search template: http://www.designsandcode.com/wordpress-plugins/search-filter-pro/faqs/#quick-note-avadaThanks
-
AuthorPosts