Forums Forums Search & Filter Pro Almost there, struggling with last steps

Tagged: , ,

Viewing 10 posts - 1 through 10 (of 11 total)
  • Trevor
    #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
    #85206

    Morning 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?

    Trevor
    #85255

    You can have the search form how you want, as a shortcode or a widget. The form settings need to be set to EDD Display method I think. That should be all you need to do. The code replaces the results shortcode for our form.

    Anonymous
    #85260

    Last 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?

    Trevor
    #85264

    Assuming you have followed these steps, can you show me hat you have made, in a live url?

    Anonymous
    #85306

    The site hasn’t been launched yet as I’m still developing it but I’ll be able to put up some screenshots of both the site and setup for you tonight.

    Trevor
    #85310

    Screenshots would not help, I am afraid to say. I can do Skype screen share, if you have Skype, a decent Internet connection, good screen (not a phone or tablet) a mic/web cam + Speakers or headset?

    Anonymous
    #85316

    Hi Trevor,

    I’d be able to show you everything over a good connection with video & mic tomorrow around 1pm? I could set up a webex invite for you to join. Would that work?

    Trevor
    #85323

    If Webex does not require me to install an app. I hate adding yet more and more of these sharing apps; each person has their own preferred one, but for me Skype works fine.

    Anonymous
    #85598

    Hey 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?

Viewing 10 posts - 1 through 10 (of 11 total)