-
Search Results
-
Topic: A couple of problems
I am trying to set a custom template following hese instructions in documentation:
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 🙂
It does not seem to be listening… 🙁
Also, I’ve set it up to do autocount for tags and though it shows that there are listings for some of the tags (for example, Florida =3) when I choose them it shows a blank page.
I will send you the link in next thread entry – private.
Hello ans thank you for all your work till now.
I have the Pro Version of the plugin.
I have installed it in a site build with the Roots WordPress Theme http://roots.io/starter-theme/. I have various issues like ajax filtering working only for date and nothing else. Also when I set a template file for results it loads with no styling at all (as if the WordPress head is not loaded at all). Just a white page with whatever is in the loop loaded with results and no styling at all.
Drawing from the previous issues I have a few questions that need answering.
1) Can you tell me if there are incompatibilities between your plugin and Roots? If yes can you pinpoint what may be causing them so I can just override/fix it?
2) The template file. Can you explain this a bit more. In the documentation it is very very lightly explained. For example when you say template you mean like a WordPress template file that adheres to the WP template standards, eg archive-cpt_name.php, or just any file name (my_template.php) that I put in my theme’s root and is used as a template? Also can I have an example of such a template file? How is this file built and is it included or loaded somehow?
3) As I said I have very strange behaviour in filtering ajax results. I have installed ajax with the new way, using shortcodes. Results display all, but then they are not filtered.
4) The ajax results template (results.php) can be different for different search forms, or do I have to use this single file and build controls to check from which form do the results come so I can have different formatting for different forms, eg based on cpt.
I know these are a lot but I found no examples of such templates and nowhere the no styling issue with the results so I need to know how to fix this.
Thank you for your time and effort.
Kind regards