Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

How to change ‘portfolio’ url slug

Home / Forums / Ascend Theme / How to change ‘portfolio’ url slug

This topic is: Resolved
[Resolved]
Posted in: Ascend Theme
October 23, 2018 at 6:58 am

Hi

I can’t seem to find a way to successfully change the ‘portfolio’ url slug to a custom word.

I managed to change the ‘portfolio-type’ permalink slug to something else using:

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’);

However, the similar filter for changing the ‘portfolio’ slug I came across doesn’t seem to work, and Ascend does not appear to have an option in ‘Theme Options’ for making the change.

Your help would be appreciated.

Thanks

Liam

  • The forum ‘Ascend Theme’ is closed to new topics and replies.