• It looks like a really cool plugin with lots possibilities, but I find it difficult to figure out how to make settings in a search form. I’ve read basic info about taxonomy but it doesn’t help.
    I have a plugin Customer Reviews and I’m trying to display a search filter box on every page that contains reviews. I want to filter them by product, city and rating.
    What I did is I left Default Search Template as Search Template and worked only with Meta Fields. I created 3 meta fields, labeled them, placed a Text For ‘Search All’ Options, put a comparison as “=” and defined Display type and Drop-down options.
    Now, I don’t quite understand what meta key should I choose from that variety? I’ve no idea. The search box is now displayed on my review page with info I entered in settings, but it doesn’t search anything. Also I don’t know what Boolean relationship to choose and whether I have to put something in Taxonomy Field or Post Type.
    Can you please help me? I’m really confused.

    https://wordpress.org/plugins/ultimate-wp-query-search-filter/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TC.K

    (@wp_dummy)

    In order to use this plugin,you got to have the knowledge about what taxonomy, custom meta field and post type is and how to use them to create a post.

    You can choose to use taxonomy or meta field in the form setting or not. So, let say if you want to filter the field ‘product, city and rating’, you got to know these field must exist in the post that you want to filter. And you need to know whether these fields are from taxonomy or meta field or both. You can use either taxonomy or meta field or both in the setting form.

    So the question is, how do you know the post type, taxonomy and meta field in the posts you want to filter? Well, that’s depends on you. There are many way to create those field. Some plugin like woocommerce will create those fields once you activate the plugin. Eg, woocommerce will create ‘wpsc-product’ post type, ‘product_tag’ and ‘wpsc_product_category’ taxonomy as well as bunch meta fields.
    When you want to create the search form to filter the product by product category, you can checked ‘wpsc-product’ at the post type section, and choose ‘wpsc_product_category’ at the taxonomy section.

    Thread Starter Iryna_B

    (@iryna_b)

    I appreciate your quick response! I’m learning all this new info on the go and yet trying to implement all the knowledge right away)
    I followed your advice, installed woocommerce, checked ‘wpsc-product’ at the post type section, and chose ‘product_cat’, because there was not ‘wpsc_product_category’ at the taxonomy section.
    I created ‘Product’ in Taxonomy fields, but as there is no value option I created as well ‘Product’ in Meta Fields (except of I didn’t know what meta key to choose). Doesn’t seem right though. Because now in my search box there is 2 ‘Product’ Search Options: one with value and one without and when I start searching the one with value, it gives my this message: ‘Your search for did not match any entries’

    Does the plugin work with review page? I just have 3 parameters there, which i would like to filter: product, city and rating, but it doesn’t show anything when i try to search. Where am I doing a mistake? Do I need to create custom taxonomy and meta keys in php file?

    Plugin Author TC.K

    (@wp_dummy)

    The woocommerce is just an example. Not necessary to install it.
    I don’t know how does your review plugin works, so I can’t tell how they create the field. You’ll need to find out yourself or ask the review plugin developer.

    Obviously you are lack of knowledge of custom post type, taxonomy and meta fields. You should learn more about these things, after all this plugin is expect you to know them in order to use the plugin.

    Thread Starter Iryna_B

    (@iryna_b)

    Ok, I did research on taxonomy and custom post type and have the idea how to use them. And I created custom taxonomy for review page and then in your plugin’s settings I assigned relevant fields to a taxonomy section. Didn’t use Post type or meta field. However the filter is not working.
    Do you have the idea where could be the mistake?

    Plugin Author TC.K

    (@wp_dummy)

    What do you meant by not working?
    Is it something like ‘no post found’, or completely not working (not running, blank page..etc)??

    I really can’t tell, your question too vague.

    There maybe mistake when you create taxonomy or on the setting.
    At least showing your site url so that I can take a look.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Having a problem with major settings’ is closed to new replies.