Viewing 1 replies (of 1 total)
  • Plugin Support thabotswana

    (@thabotswana)

    Hi @deanhowell,

    You should be able to achieve this using a code snippet.

    Here’s how to remove those characters and set a custom slug for your resumes:

    1. Install the Code Snippets plugin:

    This free plugin allows you to add custom code snippets to your WordPress site without modifying theme files directly. You can install it by searching for “Code Snippets” in the WordPress plugin directory.

    2. Add the following code snippet:

    PHP

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

    This code snippet modifies the resume permalink structure to use the slug “resume” instead of a random string. You can replace “resume” with your preferred slug (e.g., “cv”).

    3. Save the code snippet.

    4. Resave Permalinks:

    After adding the code snippet, visit Settings > Permalinks and click the “Save Changes” button. This ensures WordPress updates its rewrite rules to reflect the new slug structure.

    Additional Information:

    For more comprehensive guidance on customizing URLs within WP Job Manager, you can refer to our documentation:

    Important Note:

    While adding custom code snippets can provide more control over URL structures, it’s recommended to be comfortable with basic PHP coding practices before making modifications.

    If you’re not familiar with code, consider consulting a developer for assistance to ensure proper implementation and avoid any unintended consequences on your website.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.