• Resolved roycegracie

    (@roycegracie)


    hi. i am using this shortcode:
    [searchandfilter fields="search,locations" types="dropdown"]

    i wish to present to the user another choice that will allow him to filter by ASC, desc… IS IT POSSIBLE ?

    i tryed using this:
    [searchandfilter fields="search,locations" order_dir=",asc,desc" order_by=",id,name" types="dropdown"]

    but it dosn’t show any other new dropdown

    pls help

    https://wordpress.org/plugins/search-filter/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter roycegracie

    (@roycegracie)

    i now see this is an option available in the pro version.
    i have another question then, is it possible to limit the textual search form only to the costume post type i am running this script on ?

    now it is searching the entire website.
    [searchandfilter fields=”search,locations” types=”dropdown”]

    (“search” is the input of the textual search, “LOCATIONS” is a taxanomy under a costume post type i am using)

    Plugin Author DesignsAndCode

    (@designsandcode)

    Hey there, for each search form you can specify which post types it searches in, so you could of course set it so that in only searches in the post type costume

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add another filter according the user's choice of "order by"’ is closed to new replies.