Resume Manager: Changing the permalink base

← Back to Resume Manager

Resumes default to the permalink ‘resume’. So, for example, a resume may have the following URL: http://yoursite.com/resume/john-xyz

To change that to something else, e.g. ‘cv’, you can add the following code using the https://en-gb.wordpress.org/plugins/code-snippets/ plugin.

function change_resume_slug( $args ) {
  $args['rewrite']['slug'] = _x( 'cv', 'Resume permalink - resave permalinks after changing this', 'wp_job_manager_resumes' );
  return $args;
}

add_filter( 'register_post_type_resume', 'change_resume_slug' );
Resume Manager Documentation