• Resolved Saabaskaru

    (@saabaskaru)


    Hello

    I have this problem, that “empty_search_url” does not seem to do anything, returns user to base url/?post_types=th-meeskond.
    Is there something wrong with the shortcode or..? As i understand it, at the moment this shortcode should direct user to youtube if no taxonomies are selected. Or is it supposed to work only with search field?

    [searchandfilter class=”ws-form-style” post_types=”th-meeskond” taxonomies=”valdkond” submit_label=”Filterda” empty_search_url=”https://www.youtube.com/” types=”select” all_items_labels=”Vali valdkond”]

    https://ww.wp.xz.cn/plugins/search-filter/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ross Morsali

    (@designsandcode)

    If the search field & taxonomies are not set this URL should be used.

    It seems like maybe because you have set post types that this is somehow being ignored.

    Can you try not setting the post types (so nothing gets added to the URL) and checking if the redirect works?

    Thanks

    Thread Starter Saabaskaru

    (@saabaskaru)

    Hey, a bit late reply but removing post type did work. Empty search now gives correct results.
    thanks:)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Empty search url’ is closed to new replies.