AnonymousInactive
Hi There,
Line 55 in results.php is missing / in closing <p> tag.
Thx
AnonymousInactive
I’ve already tried with following article http://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/display-results/with-a-shortcode/
I have created search-filter\results.php in my site theme, and setting properly by shortcode results, but not working till now.
Please help me
Thanks
Hi Paul, you can use archive mode, then put in the filename: taxonomy-sermons-category.php but see the notes in the above link about potential issues with archive mode, your template might have a custom query inside which is causing it to ignore the S&F query – so you will have to remove this.
If you are using results method, then you create results.php in search-filter folder – but you msut also place the results shortcode into a page – the results shortcode then loads the results.php template where the shortcode is displayed – probably your results.php won’t be a full template (with the get_header() etc – see the sample results.php on how to do the loop) – you can get the results shortcode from the S&F edit screen.
Thanks
AnonymousInactive
Thanks Ross,
I am getting close, but still missing something:
If I choose ‘archive page’for results (http://screencloud.net/v/BvpP) and specify my theme’s template file (taxonomy-sermons-category.php) then the results only show the default blogs posts page instead of sermons. (http://screencloud.net/v/Fty8) Very odd.
If I choose ‘shortcode’ for results and create a \search-filter\ folder and put my file ‘taxonomy-sermons-category.php’ there and rename it to ‘results.php’ I get an empty page.
What would you suggest my approach be?
Thank you.
AnonymousInactive
Hi there
Great plugin working great.
I have one big issue
I need to have two different resluts.php pages and I cant get it to work.
I know how to style the existing template results.php to my liking, but I need two completly different reults pages that pass different variables (url) to detail pages.
I tried duplicating the ‘results.php page and changing the name to ‘results_two.php’ and then changing the shortcode from
[searchandfilter id=’1046′ show=’results’ ]
to
[searchandfilter id=’1046′ show=’results-two’ ]
But this does not work.
Can you please explain to me how to get this working?
Thanks in advance.
Hi Betsy
I’m not sure if you’ve made any modifications to the plugin, but there is a line in class-search-filter-get-results.php:
//add_filter( 'query_vars', array($this, 'wpse52480_query_vars') );
Which should be commented out (and completely removed actually, which it is in the latest version) – it seems this is not the case in your setup.
Thanks
AnonymousInactive
Hey there,
I want to unlink the tags in the search results of my page:
http://secondsuspense.com/portfolio/
I searched on the internet to solve this problem. I think i found the solution too but i don’t know exactly where i need to past the code.
http://i.imgur.com/s2ndwe7.jpg
My results.php file is located in:
wp-content/themes/customizr/search-filter/results.php
Hope you can help me (again)
Best regards and thanks
Max
Hey Lars
Its not yet possible with the plugin, but I do plan to add this in.
In terms of changing the plugin code, there are 2 files the query is created depending on your setup.
If you are displaying your results as an archive, then the above file is correct – however if you are displaying your results using a shortcode (under the “display results” tab) then the correct file is:
class-search-filter-get-results.php
Its a bit messy, S&F 2.0 is a lot cleaner and for all display methods the query is created in 1 place – should be out soon.
Thanks
AnonymousInactive
Hi again.
Just if it helps, have been taking a look at Relevanssi, and the indexing system is a huge risk for a large project (big ddbb) like mine. Have found this easy workaround
http://adambalee.com/search-wordpress-by-custom-fields-without-a-plugin/
and works like a charm for default WP Search. Have tried out to integrate on your class-search-filter-get-results.php, but no luck, goes bit far of my scope, honestly.
Just if you think for a simpler system to integrate this feature than dealing with Relevanssi, that i’ve seen other support request with the same issue.
Thanks!
AnonymousInactive
Hi Ross,
Thanks again for getting back to me. Having looked at both options now I think the shortcode option is the best for my site, as it gives more flexibility.
So I have a few questions:
1. Having switched back to shortcode, the slug is now appearing as http://houseplansdirect.co.uk/search-house-designs/%20%E2%80%8E/?_sft_category=dormer-bungalow-designs which is causing a 404. I’m not sure where the %20%E2%80%8E is coming from as it wasn’t there before.
2. I still need to determine how to get more than one category showing if selected by the user.
3. I’ve managed to amend your results.php template to show thumbnails the right size, remove the excerpt and meta, but I can’t figure out how to show the results in a grid.
Thanks
Andy