Support » Plugin: Search & Filter » Category Dropdown

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author DesignsAndCode

    (@designsandcode)

    Hey seanocaside21

    There is some undocumented functionality – take a look at this thread –

    https://wordpress.org/support/topic/all-product-categories-searches-not-working-as-expected?replies=18

    What you are looking for is the example usage of all_items_labels ๐Ÿ™‚

    Thanks and glad you like ๐Ÿ™‚

    Hi Again,

    I refer to our conversation above… I had managed to change the all_itmes_labels to what i wanted and all was working fine.

    However, i have now added in a post_date search option and the category select has defaulted back to “All Categories”

    Here is the shortcode:

    [searchandfilter fields=”search,post_date,category” all_items_labels=”,All Counties” types=”,daterange” headings=”Surname, Post Date, County”]

    Any help would be much appreciated.

    Thank you

    Plugin Author DesignsAndCode

    (@designsandcode)

    Hey seanocaside21

    You need to account for that new field in all_items_labels as it matches the order in fields… so:

    [searchandfilter fields="field1,field2,field3" all_items_labels="All Field 1,All Field 2,All Field3"]

    Basically it needs to match the structure of what you have done with your headings…

    You need to add another comma as your category is now third in the list like this:

    [searchandfilter fields="search,post_date,category" all_items_labels=",,All Counties" types=",daterange" headings="Surname, Post Date, County"]

    Thanks

    Thats great!

    Thanks very much for the help

    Hi Again,

    I am using the “post-date” function with “date range” activated. I was wondering if it possible to include a heading over both date range options.

    E.g. Date From: over 1st box and Date To: over the 2nd.

    At the moment i can only have a heading the extent of the first box.

    Thanks,

    Plugin Author DesignsAndCode

    (@designsandcode)

    Hey there seanocaside21, unfortunately this is not possible unless you want to go in and edit the plugin yourself…

    I’ll make sure to include this in a future update ๐Ÿ™‚

    Hi There,

    I am having an issue with the plugin. I have changed the main search categories to child categories as part of one parent category.

    See: http://irishdeaths.com/

    For example when i pick “Dublin” from the “County” dropdown i am getting a 404 as the plugin searches for http://irishdeaths.com/dublin-deaths/ the correct link is http://irishdeaths.com/death-notices-ireland/dublin-deaths/.

    Is there something i have to update in the shortcode for this to function properly?

    Thanks,

    Seรกn

    Just a note… i figured out why it stopped working.

    I am using Yoast WordPress SEO plugin. In the permalink settings i had selected: “Strip the category base (usually /category/) from the category URL.”

    This seems to be the issue. Is there a way of getting the search function to work while also removing the /category/ from the permalink?

    Thanks,

    Sean

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Category Dropdown’ is closed to new replies.