Adding a prefix to taxonomy slugs
Let’s say my client will be adding a category (through a custom taxonomy called ‘Location’) called ‘Greater Manchester’.
I’m wondering if there is a way I can set up the taxonomy so that, rather than setting the slug as ‘greater-manchester’ it adds a prefix to it automatically, something like:
Is this possible through the way the taxonomy is configured in functions.php?
- The topic ‘Adding a prefix to taxonomy slugs’ is closed to new replies.