Support » Plugin: WP Query Search Filter » Short results by Title

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

    (@wp_dummy)

    @anargyriotis,
    What do you mean by Meta key search finds nothing? The search found nothing only when you sorting the result using Sorting Meta Key with meta key ‘title’?

    The sorting features currently only work with meta field. If you ‘title’ in the setting, it will assume that you have a meta key named “title” (which is you are not) and therefor no result found.

    In the nutshell, you can’t sort the result by title from this plugin.

    Thread Starter anargyriotis

    (@anargyriotis)

    @ron_dev,

    Thanks for your reply ron_dev.
    In this ‘Meta key’ field what keys can i use? (In your example you name the ‘date’ as shorting key). Or maybe i must define my metas to use with the plugin?

    Plugin Author TC.K

    (@wp_dummy)

    The meta key filed for sorting is the meta key that must exist in your searched post. For example, if you have a meta field called “product_price” and you want to sort your search result in ascending price order. Then you should enter ‘product_price’ in the sorting meta key, Numeric for the Meta Value Type and Ascending Sorting Order.

    Yes, you should have meta field to use the sorting order.

    Thread Starter anargyriotis

    (@anargyriotis)

    OK, i think i got it now. I will try it with one of my custom fields.

    Thank you very much!

    Thread Starter anargyriotis

    (@anargyriotis)

    @ron_dev,

    Dear ron_dev, i found why it was’n working. ‘Meta key’ field needs ‘wpcf-‘ prefix before your custom field name (eg. wpcf-xxx_xxxxxx).
    Now it working perfectly!

    Thanks once more for this nice plugin and for your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Short results by Title’ is closed to new replies.