Edit Portfolio Archive Name

Ilias Loulakakis asked 4 months ago

Hello! I am building a wordpress website that is using Cherry 4 framework.

I would like to change the name of (Cherry) Portfolio post types to Projects or whatever my client needs.

I have managed to change the name using the following code in my theme’s function.php

add_filter( ‘cherry_portfolio_post_type_args’, ‘theme57875_portfolio_params’, 11 );
function theme57875_portfolio_params( $args ) {
$args[‘labels’][‘name’] = ‘Projects’;

return $args;
}
 
The problem is that the portfolio archive is still there as /portfolio-archives and I would like to change this to /projects-archive or whatever my client needs as a name. How is that possible ?
 
Thanks in advance! 

Your Answer

9 + 17 =