Support » Plugin: Search & Filter » Change label prefix "All"

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

    (@designsandcode)

    Hi gicrom, what do you mean exactly?

    So where it says “All Categories” in the dropdown?

    Yes, I mean in the dropdown “All Categories”. Is it possible to change it with custom text? thanks!

    Plugin Author DesignsAndCode

    (@designsandcode)

    Unfortunately its a bit tricky.. The plugin uses WP internal labels for displaying “All Categories” or “All Tags” – so you have to change the internal WP labels for Category/Tags…

    You can change the labels of the post_tag following this – http://wordpress.stackexchange.com/questions/4182/can-the-default-post-tags-taxonomy-be-renamed

    The internal label you want to change is all_items – another user of search & filter has done this and substituted post_tag for category and has managed to get it working.

    Thanks

    Plugin Author DesignsAndCode

    (@designsandcode)

    Hi gicrom,

    I updated the plugin so you can do this easier 😉 Use it like this:

    [searchandfilter fields="search,category,post_tag" types=",radio,select" all_items_labels=",All Categories,,All Tags"]

    What you need to look out for is the – all_items_labels.

    The docs haven’t been updated yet but this should be straight forward enough!

    Plugin Author DesignsAndCode

    (@designsandcode)

    Oops there was a typo:

    [searchandfilter fields="search,category,post_tag" types=",radio,select" all_items_labels=",All Categories,All Tags"]

    Great! It works. Thanks!!!

    Plugin Author DesignsAndCode

    (@designsandcode)

    No problem gicrom, if you like the plugin please consider leaving a review 🙂

    Great! Thanks for this!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Change label prefix "All"’ is closed to new replies.