Forums › Forums › Search & Filter Pro › Not working, even with Shortcode method
- This topic has 4 replies, 2 voices, and was last updated 6 years, 11 months ago by
Anonymous.
-
Anonymous(Private) July 16, 2018 at 4:37 am #182577
I’m developing a site on a local environment (using Local by Flywheel). I’m not sure if this is the problem, but when I try to use Search and Filter Pro using the simplest Shortcode method, it’s not working at all. Doesn’t work with or without ajax. I’m just trying to use a very simple search box only, no other filtering.
If I try to search from any page of the site it is not redirecting to the search results page, with no ajax, or with ajax and “Only use Ajax on the results page?” selected. It just reloads the same page, appending the URL with a query string like ?_sf_search%5B0%5D=, but not showing any results.
If I go directly to the /search-results/ page I created with the shortcode, and have added as the results URL, then it shows all results regardless of the search term. No additional search queries change this. Something is preventing the search form talking to the results container, or preventing the search form from really having any effect at all, including redirecting to the results page, as described above.
Let me know if a live link would be helpful. It’s a virtual machine and once I turn my computer off it will not be available, but if the timing is right, you should be able to view it and see what is happening. I’m at UTC+12, Auckland, New Zealand time.
Ideally I’d get shortcode working, then possibly change to an archive or custom setup for a bit more control over the output, but if shortcode won’t even work, then anything more advanced feels pretty hopeless right now.
I’m developing a completely custom theme. It’s fairly simple, using basic loops, nothing out of the ordinary. Below is a copy of the system status so you can the server specs and other plugins used:
WordPress Environment
Home URL: http://calbar.local
Site URL: http://calbar.local
Search & Filter Pro Version: 2.4.4
WP Version: 4.9.7
WP Multisite: –
WP Memory Limit: 40 MB – We recommend setting memory to at least 64MB.
WP Debug Mode: –
Language: en_US
Server Environment
Server Info: nginx/1.10.1
PHP Version: 7.1.7
PHP Post Max Size: 1,000 MB
PHP Time Limit: 1200
PHP Max Input Vars: 4000
SUHOSIN Installed: –
MySQL Version: 5.6.37
Max Upload Size: 300 MB
fsockopen/cURL: ✔
Multibyte String: ✔
Database
Tablewp_search_filter_cache
Exists: ✔ 4 Rows Found
Tablewp_search_filter_term_results
Exists: ✔ 3 Rows Found
Total Number of Fields Cached: 1
Fields in Cache: _sft_category
Active Plugins (19)
Advanced Custom Fields PRO by Elliot Condon – 5.7.0
Ajax Load More for Relevanssi by Darren Cooney – 1.0
Ajax Load More by Darren Cooney – 3.5.1
Akismet Anti-Spam by Automattic – 4.0.8
All In One SEO Pack by Michael Torbert – 2.7.1
Better Search Replace by Delicious Brains – 1.3.2
CMS Tree Page View by Pär Thernström – 1.5
Contact Form 7 by Takayuki Miyoshi – 5.0.3
Contact Form CFDB7 by Arshid – 1.2.3
Duplicate Post by Enrico Battocchi – 3.2.2
Enable Media Replace by ShortPixel – 3.2.6
Post Types Order by Nsp Code – 1.9.3.9
Redirection by John Godley – 3.3.1
Regenerate Thumbnails by Alex Mills (Viper007Bond) – 3.0.2
Relevanssi by Mikko Saari – 4.0.10.1
Search & Filter Pro by Designs & Code – 2.4.4
Search & Filter by Designs & Code – 1.2.10
Category Order and Taxonomy Terms Order by Nsp-Code – 1.5.4
Smush by WPMU DEV – 2.7.9.1 -
AuthorPosts