Support » Plugin: WP Job Manager » Add a parent page to the permalink of the job

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jake Morrison

    (@jakeom)

    Hi there,

    I didn’t think this would work, but it seems to on my install. Try to add this snippet in either your theme’s functions.php or using the Code Snippets plugin:

    
    add_filter( 'register_post_type_job_listing', function( $args ) {
      $args['rewrite']['slug'] = '/travailler/offres-emploi';
      
      return $args;
    } );
    

    Once you add this snippet, you’ll need to save your permalink settings in WP Admin > Settings > Permalinks. This will refresh the rewrite cache. This snippet will make the relevant setting on that page no longer useful.

    Plugin Contributor Richard Archambault

    (@richardmtl)

    I’m marking this thread as Resolved as it’s been more than a month since the last reply. If you still need help, please do reply again and mark the thread as Unresolved!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add a parent page to the permalink of the job’ is closed to new replies.