Forums › Forums › Search & Filter Pro › Searched/filtered posts are unformatted
- This topic has 6 replies, 4 voices, and was last updated 10 years, 7 months ago by
Ross.
-
Anonymous(Private) December 12, 2014 at 8:49 pm #9020
I’m just a user (not Ross), but from http://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/
If you wish to customise the display of your results, a template file is included in the Search & Filter folder.
1) Create a folder in your theme folder called search-filter.
2) Copy the file wp-content\plugins\search-filter\templates\results.php from the templates folder in to your newly created folder wp-content\themes\your-theme-name-\search-filter\results.php
Search & Filter will now use this template to display your results 🙂
I had to dig into php code to make it render the way I wanted it. I just found the template that renedered my posts originally, and replace the section in results.php with that one.
Ross Moderator(Private) December 13, 2014 at 2:16 pm #9025Hey Tim (and thanks Gregory)
Yeah you can control the formatting by using a custom template, if using a shortcode follow the steps above if not check the docs as you can still use a custom template
Unfortunately our site needs a bit of upgrading, but the search widget for searching support can be found on this page:
http://www.designsandcode.com/support/Thanks
Anonymous(Private) December 13, 2014 at 6:16 pm #9045Thank you Gregory and Russ. I created the new directory and copied the results.php file to the folder. Once I did that, I expected to find the new template file displayed in my WP control panel, under Search & Filter (such that I could edit in the UI), but I’m not seeing it. Do I have to edit the results.php file directly, in order to configure how my search/filter results are rendered on the page?
Thanks,
TimAnonymous(Private) December 13, 2014 at 8:39 pm #9050Actually, when I select to edit my search and filter form, I see a disabled region in the UI that appears to be where I would define the template filename for my form. But that region is disabled and I cannot define the template file name there. My form id=86. My template filepath is: wp-content\themes\responsive\search-filter\86.php. Any help is appreciated.
Thanks
Ross Moderator(Private) December 16, 2014 at 10:29 pm #9160Hey both, any chance one of you can send me login details so I can take a look? (and give me precise steps to recreate?)
Thanks
-
AuthorPosts