First, install Child Theme from Theme bundle. Open functions.php file with WordPress Editor or AceIDE Change the service URL slug file on autrics-child\functions.php folder and write the below code.
//For Service slug
add_filter( 'register_post_type_args', 'buildbench_services_slug_register_post_type_args', 10, 2 );
function turitor_teams_slug_register_post_type_args( $args, $post_type ) {
if ( 'ts-service' === $post_type ) {
$args['rewrite']['slug'] = 'services'; //rename my-service
}
return $args;
}
//For Projects slug
add_filter( 'register_post_type_args', 'buildbench_projects_slug_register_post_type_args', 10, 2 );
function turitor_teams_slug_register_post_type_args( $args, $post_type ) {
if ( 'ts-projects' === $post_type ) {
$args['rewrite']['slug'] = 'project'; //rename my-project
$args['labels']['singular_name'] = 'Project';
}
return $args;
}