Forums Forums Search & Filter Pro I can't see results as an archive or post type

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

    Hi team,
    I just have bought the plugin and i have been reading all the documentation.
    First of all, I am using Avada 4.0.3
    I have done all the steps explained here and I have modified search-filter.php with this: <?php if ( have_posts() ) : ?> , like said in the FAQ section. But still doesn’t work for me.

    I have read some questions and the replies on this forum but I don’t see nothing more to do…What do you need to help me?

    Thank you in advance

    Trevor
    #68795
    This reply has been marked as private.
    Anonymous
    #68797
    This reply has been marked as private.
    Trevor
    #68843

    Hi Alberto

    I think that when they released Avada 4 they integrated the wp_query (the bits that gets the posts and applies the filters) deeper into their code and out of the search.php template, making the archive method impractical. Instead it will be necessary (at least other users have done this) to use our Shortcode method.

    To test this, build a results page with the shortcode for the form (or use the widget) and the shortcode for the results and first see if this works.

    I did make a couple of changes to your form, the most useful at this phase of development is to have the post count showing in the form tags element. That way you can see what to expect in the results. If the number you see there is wrong, then you have most likely made a setup mistake. The most common of these is in the Includes and Excludes of the Categories Tags and Taxonomies, so be very wary of using that tab until you know everything else is working, and then test carefully as you go.

    The most important thing with the shortcode method is to make a local template copy of the results.php file. The layout and general content can be changed, so don’t worry about that for now.

    Anonymous
    #69018

    Well. The shortcode method works properly, at least the results are shown, but I should change the template because i don’t like it.(and I don’t know if I will be able to do it…)
    I downloaded the free version of the search&filter plugin and it works fine using the widget, with the correct template from avada. Do you know why?

    Trevor
    #69025

    The free Search & Filter is totally different to the paid version. I can provide you with a modified results.php, so no work required for you there. All I need is an example page of what it should look like (a page that does NOT use Isotope or masonry in the grid).

    Anonymous
    #69027

    Thank you very much, Trevor.

    I am going to work on it and i will send

    best regards

    Trevor
    #69029

    I will wait for you then.

    Anonymous
    #69517
    This reply has been marked as private.
    Trevor
    #69561

    The overflow of the select box is due to the length of the options/terms. Some Custom CSS will fix this:

    .searchandfilter select.sf-input-select {max-width: 225px;}
    

    The Auto Submit is set in the form settings on the General Tab. You would uncheck this setting. I have done this for you already.

    Yes, the results can be like that. At this time, your search is still ‘As an Archive’. You will need to change this to the Shortcode method in the Display Results settings tab, and also set a URL for the results. This can be a new page (which you would have to make and you would make it with the sidebar like the Guias page) or it can be the Guias page, in which case you must choose how you want the results to look (and the unfiltered page). Like the Guias page or like the tag results page you get when clicking one fo those 3 buttons.

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