The toolkit is whats making that so it doesn’t matter if your using pinnacle or ascend that would work.
Can you make sure there isn’t another plugin adding a second portfolio custom post? For example, jetpack has a custom portfolio post type as well that you can enabled or disable.
You’re adding this to a child theme correct? Then going to settings > reading and resaving permalinks after you add it?
I can confirm through testing that this is the correct code:
function kt_init_filter_portfolio() {
add_filter('kadence_portfolio_type_slug', 'kadence_portfolio_type_slug_custom');
function kadence_portfolio_type_slug_custom() {
return 'portfolio-category';
}
}
add_action('after_setup_theme', 'kt_init_filter_portfolio');
Thanks very much for that. It’s the resaving permalinks that I’d forgotten about. Works great now.
I’m also wondering if there’s any easy way to show categories and sub-categories in the portfolio type archive URL – e.g. site.com/portfolio-type/category/sub-category/, rather than site.com/portfolio-type/sub-category as it is at the moment.
I’ll send this onto the theme developer so that he can provide some feedback.
In the future, please start a new topic for support queries. Thanks!
-Kevin
-
This reply was modified 8 years, 5 months ago by
Kevin.
Thanks very much, sorry I should have started a new thread.
No worries! You’ll typically get quicker responses with a new thread, so usually that’s the best way to get an answer.
-Kevin