Registering custom taxonomy using reserved terms

That’s because some terms are reserved by WordPress core and shouldn’t be used as custom slug. However, WordPress core itself doesn’t check within register_taxonomy function whether a developer has used those reserved terms or not. It’s up to the developers to read the documentation and implement accordingly. These core functions are low level implementations, so … Read more

Sub-pages of Custom Taxonomies

I’d do it something like this. First, register a new query var, so WP will acknowledge its existence: add_filter( ‘query_vars’, function( $query_vars ) { $query_vars[] = ‘cast’; return $query_vars; }); Next, add a rewrite rule, which converts the pretty permalink version of your URL behind the scenes: add_action( ‘init’, function() { add_rewrite_rule( ‘^movie/([^/]+)/cast/?$’, ‘index.php?movie=$matches[1]&cast=1’, ‘top’ … Read more