Back to Top

How to remove suffix from taxonomies in WordPress

Remove suffix from taxonomies in Wordpress

Right, I’m back after the break as I was busy in a stack overflow.Today I’m a going to go over how to replace some text or suffix in WordPress taxonomies. I have noticed in my experience that to solve some small issues take too much time to think that how to do it and this is also one kind of this thing.

Sometimes we are working with some plugin which filter text/taxonomies like category, tags before displaying to the browser. For example,

WPML plugin adds language code suffixes after the taxonomy if such taxonomy entry exists and adds this @lang suffix because WordPress doesn’t allow duplicate taxonomy name. so here I am going to explain how to remove that suffix from taxonomies in WordPress.

Let’s understand by code

you can change above code as per your requirement.Ok, that’s it. I hope you enjoyed this tutorial.

Thank you for reading.Feel free to share your thoughts! Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

Steps To speed up Eclipse IDE

Posted on 11 years ago

Bhumi

Top 10 JavaScript Charting Libraries

Posted on 8 years ago

Bhumi