Hi gicrom, what do you mean exactly?
So where it says “All Categories” in the dropdown?
Thread Starter
gicrom
(@gicrom)
Yes, I mean in the dropdown “All Categories”. Is it possible to change it with custom text? thanks!
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
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!
Oops there was a typo:
[searchandfilter fields="search,category,post_tag" types=",radio,select" all_items_labels=",All Categories,All Tags"]
Thread Starter
gicrom
(@gicrom)
Great! It works. Thanks!!!
No problem gicrom, if you like the plugin please consider leaving a review 🙂