Forums › Forums › Search & Filter Pro › How can I get the same result?
Tagged: tags
- This topic has 21 replies, 2 voices, and was last updated 5 years, 8 months ago by Anonymous.
-
Anonymous(Private) March 18, 2019 at 6:29 am #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-freeSearch 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,
GiulioTrevor(Private) March 18, 2019 at 11:19 am #205447You 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(Private) March 19, 2019 at 7:12 am #205583Hi 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 tagIf I filter results it will show me all posts and none is filtered.
Trevor(Private) March 20, 2019 at 11:45 am #205706You 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(Private) March 22, 2019 at 7:43 am #205955Hi 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(Private) March 22, 2019 at 8:13 am #205959OK. 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?
-
AuthorPosts