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

Tagged: , ,

Viewing 10 posts - 1 through 10 (of 12 total)
  • Anonymous
    #85131

    Hi there!

    I just bought Search & Filter Pro tonight and I’m struggling to complete the last steps of the setup. I am using EDD and the Marketify theme. I have updated my theme’s functions.php file and also added the results.php file to my theme. I have been trying to display my new search and filter via ShortCode, an EDD Downloads page and via a widget but I am unable to complete any of these.

    The search is behaving correctly with the Shortcode method however the display is not nice. In this case, the search is on the top left of the page. The results are displayed in large tiles at the bottom of the page. It looks nothing like the neat movie demo.

    The EDD method [searchandfilter id=”291″ action=”prep_query”][downloads columns=2 number=4] causes no search to be displayed on the page but the tiles look ok.

    The widget approach has the best look as I have been able to display the search on the right sidebar with the downloads on the left. However in this case the search is not interacting with the downloads.

    I would love to get one of these approaches working and would really appreciate your help on this. Thanks in advance!

    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.

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