1. Home
  2. Developer
  3. Code Snippets
  4. Edit the prefix for Taxonomy slug

Edit the prefix for Taxonomy slug

matador_rewrites_taxonomy_has_front

By default, Matador will create URLs with the jobs slug before each job, taxonomy archive, and term. This ensures there are no conflicts with other taxonomies, like for instance, the default taxonomy “Category” for WordPress posts.

If you’d like to remove the jobs slug from in front of the taxonomy name, you can pass this filter a false. Passing this filter any other value, will result in a true, which maintains default behavior.

Code example:

Updated on September 25, 2023
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support