Forums › Forums › Search & Filter Pro › Almost there, struggling with last steps
- This topic has 11 replies, 2 voices, and was last updated 8 years, 7 months ago by
Trevor.
-
Trevor(Private) January 25, 2017 at 9:14 am #85201
Marketify should work the easy way. If you go to wp-content/themes/marketify (I think), edit the functions.php file, it needs to look something like this (where the 63 is the ID number of the form you made, so change that):
<?php /** * Marketify child theme. */ function marketify_child_styles() { wp_enqueue_style( 'marketify-child', get_stylesheet_uri() ); do_action( 'search_filter_prep_query', 63 ); } add_action( 'wp_enqueue_scripts', 'marketify_child_styles', 999 ); /** Place any new code below this line */
Anonymous(Private) January 25, 2017 at 9:27 am #85206Morning Trevor!
I had been looking through your support forum before I reached out to you and noticed that you had mentioned this to someone else with the marketify theme too. I have already updated my functions.php file to look like this (including my search ID number) although I update the marketify-child theme which is the usual one I update.
Could you please tell me the next steps after doing this? Should I be using EDD Downloads or shortcode as the method of display? And how should those codes be copied onto an empty page? Or should it be a widget?
Anonymous(Private) January 25, 2017 at 12:05 pm #85260Last night I tried to set the search up using a widget. I displayed the widget in my downloads/shop sidebar. This resulted in the downloads page showing my downloads on the left and the search bar on the right. The only problem was that when I performed a search, it didn’t result in any changes to my downloads. Have you come across this before?
Anonymous(Private) January 26, 2017 at 9:54 am #85598Hey Trevor. Probably no need for the call today as I discovered what the problem was last night after trying many combinations of the settings. It seems that the search form is not working when the AJAX setting is enabled. Once I disabled it the form began to behave as expected.
It’s a little bit disappointing to be honest as the AJAX feature was one of the reasons I bought Search & Filter Pro. Have you come across this issue before and do you know of any solutions to resolve it?
-
AuthorPosts