Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Portfolio category slug
add_filter( 'presscore_taxonomy_dt_portfolio_category_args', 'my_portfolio_category_slug' );
function my_portfolio_category_slug( $taxonomy_args ) {
$taxonomy_args['rewrite'] = array('slug' => 'my-portfolio-category');
return $taxonomy_args;
}
@thecodepoetry

This comment has been minimized.

Copy link
Owner Author

commented Jul 27, 2015

Add this code in your child theme functions.php to change portfolio category slug, replace "my-portfolio-category" with your custom slug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.