Forums Forums Search & Filter Pro How can I get the same result?

Tagged: 

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

    Hello,
    I’ve got Avada theme installed on my WP. I’d like to have the same result of this page when searching for blog posts with the tag category. https://pinchofyum.com/recipes/?fwp_healthy=gluten-free

    Search results must be displayed on the same page.
    I’ve tried with several settings but don’t get any results.

    How can I achieve this?

    Best regards,
    Giulio

    Trevor
    #205400
    This reply has been marked as private.
    Anonymous
    #205425
    This reply has been marked as private.
    Trevor
    #205447

    You can do it yes. However, with Avada, you will need to use either our shortcode method:

    https://searchandfilter.com/documentation/search-results/using-a-shortcode/

    Or the Post Grid plugin method:

    https://searchandfilter.com/documentation/3rd-party/post-grid/

    In terms of flexibility of design, the Post Grid plugin is the better choice. At the moment, we do not have an integration method that directly integrates with Avada page/grid design.

    Anonymous
    #205583

    Hi Trevor,

    I did all the step with the post-grid plugin method but it still don’t work.

    You can reach the page: https://tastycomo.com/food-experiences/

    Here’s the step that I’ve taken:
    -Install post grid plugin;
    -Created my Grid;
    -Add the Post Grid shortcode to my page;
    -Add the Search & Filter form to my page using shortcode;
    -choosed Custom Display Method and fill in the url: https://tastycomo.com/food-experiences/
    -Enable Load Results Using Ajax
    -Set Ajax Container to either .post-grid
    -Set Pagination Selector to .pagination a
    -add the JS code to Avada theme under the body and embedded within script tag

    If I filter results it will show me all posts and none is filtered.

    Trevor
    #205623
    This reply has been marked as private.
    Anonymous
    #205661
    This reply has been marked as private.
    Trevor
    #205706

    You need to separate out groups, branches or parent/child tags into separate custom taxonomies. In the case of your form, this means you plan to use tags six times, so you really need a taxonomy for each of those fields. In general, you can use a particular Taxonomy, such as Category, (or Tags, each Taxonomy and each Custom Field) only once in the form. This post tries to explain this a bit better (you can use a plugin to switch category terms from category to any new taxonomy that you make, so it is not so hard to do). It is a really awful preachy lecture I wrote:

    https://support.searchandfilter.com/forums/topic/multiple-categories-combination/#post-55166

    Sorry about the tone, but the message is right and it links to good plugins (except taxonomy switcher I think).

    Taxonomy switcher is a ‘use once and remove’ type of plugin, and it uses ‘hidden’ features in WordPress that have not changed for about 2 years.

    Let us say that you have Categories (as WordPress calls them) on some posts, and some of them are fruit types. For example, Apple. Now you decide to have a separate taxonomy called Fruit Type. You may have hundreds of posts with those fruit types already in Categories, and don’t want to retype them all again. Let us say the the Apple ‘term’ has an ID # of 234 (they all have ID numbers). You tell Taxonomy Switcher to move the term 234 from Categories to Fruit Types, and it does all the work for you. You can do a whole bunch of IDs at once, all you need is their ID numbers.

    IF you went in to one of our forms in admin, to the Tags, Categories & Taxonomies settings tab, find the line for Categories (in this case) and use the search to ‘add’ all the ones you want to move, then you will see in the settings box all the ID numbers you need to be able to do this. So, cut them from that box and paste them in to Taxonomy Switcher.

    Be wary if you have child terms though (those which have a parent), as the parent may have to be moved also.

    Anonymous
    #205955

    Hi Trevor,

    thank you for your reply. Since I’m a beginner with this stuff I think I don’t really understood everyting you sad in the post you linked.

    Could you please give me a sort of checklist of the things that I should do?

    I don’t want a prepared meal from you but I just need a direction to follow.

    Thank you for your help.

    Best,

    Giulio

    Trevor
    #205959

    OK. In principle, you wish to proceed?

    Step #1 is to decide names for the six fields (short names that look OK in a URL, try to make as single words) to replace the six tag fields in the form.

    Give them to me here in a list in the same order as you have them in the form?

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