I'm organizing some custom post types by taxonomy so that my URLs would look like
/small-groups/spring-2015/date-your-mate
/small-groups/fall-2015/date-your-mate
The spring-2015
and fall-2015
are the slugs of my custom taxonomy.
However, when Wordpress generates the permalinks for the 2nd "Date Your Mate" it comes back with (notice the -2
)
/small-groups/fall-2015/date-your-mate-2
Is there an option that I can use to turn that off so that the system queries with in the taxonomy and not need any sequential suffix (the -2
part)?
I'm guessing that this can be changed by hooking into the wp_unique_post_slug
filter, but I'm not sure how