Change ‘/collection/’ slug prefix
Paste this code into the Child Theme’s functions.php file (you can find the base for it here). Make sure you activate the child theme instead of the main Chipmunk package.
function chipmunk_register_taxonomy_args( $args, $taxonomy ) {
if ( 'resource-collection' === $taxonomy ) {
$args['rewrite']['slug'] = 'podcast-category'; // Set your new slug here
}
return $args;
}
add_filter( 'register_taxonomy_args', 'chipmunk_register_taxonomy_args', 10, 2 );
Please remember to refresh the WordPress permalinks after that! Go to Settings > Permalinks
and click “Save Changes”.
The Perfect Solution For All Curated Content
Start sharing the best hand-curated content to your audience now! No coding skills required!
Product
Get Help
Resources
The Family
© 2023 – Chipmunk
You have successfully joined our subscriber list. Please confirm your email.
We had trouble signing you up. Please try again.