Forums Forums Search & Filter Pro Result

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

    Hello,

    I have the following problem.I have three fields with categories.When I choose the categories every posts show up, instead posts are for the categories.

    Could you please help me.
    Thank you in advance

    Trevor
    #110855

    You do not give a URL to look at, but it sounds like you have used the Category field 3 times in the form, and this you cannot do. IF I understood your post correctly, then I would guess that you have multiple parent/child hierarchies (or groups of terms) in that category/taxonomy and want them as separate dropdowns.

    It is best not to do it this way (as it will most likely go wrong). Instead you need to split the parent terms into separate taxonomies.

    You can use a plugin to add these custom Taxonomies, and another plugin to move the Category terms (always switch the parent of the children with the children).

    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). If I missed anything (I probably did, my apologies), follow up and nudge me.

    Anonymous
    #110863
    This reply has been marked as private.
    Trevor
    #110865

    I am not sure what you mean. This does not seem related to your original question.

    Do you need a copy of the results.php template file? It is in your plugin archive file, which you must have a copy of, and you can unzip that and find it in the templates folder. If you intend to modify it, you should follow these instructions:

    https://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/#Customising_the_Results

    Anonymous
    #110867

    I’m getting error – Call to a member function have_posts () on a non-object in root/wp-content/themes/twentysixteen/search-filter/results.php

    Anonymous
    #110869
    This reply has been marked as private.
    Anonymous
    #110871

    I’m getting error – Call to a member function have_posts () on a non-object in root/wp-content/themes/twentysixteen/search-filter/results.php on line 25

    Anonymous
    #110878
    This reply has been marked as private.
    Trevor
    #110880

    Can you re-install the plugin? (Deactivate, delete, re-install)?

    Anonymous
    #110897
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 13 total)