Quantcast
Channel: Topic Tag: job | WordPress.org
Viewing all articles
Browse latest Browse all 386

nielvrom on "[Plugin: WP Job Manager] Change jobs url (NOT slug)"

$
0
0

I'm using the WP Job Manager plugin in my wordpress website. The list of my jobs is currently found on /jobs . I would like to have it on /careers . The listing of all jobs is not a page so I can't change the url there.

I've found the topic that shows an example on how to change the slug from /job/titlejob to /careers/titlejob. But it doesn't show how I can change /jobs to /careers.

In the example they are doing this:

function change_job_listing_slug( $args ) {
  $args['rewrite']['slug'] = _x( 'careers', 'Job permalink - resave permalinks after changing this', 'job_manager' );
  return $args;
}

add_filter( 'register_post_type_job_listing', 'change_job_listing_slug' );

When I add this to my functions.php my job detail pages are found at /careers/jobtitle. But the overview is still on /jobs . How can I change that?

I would like to do it without the translating, because I think it's cleaner.

https://wordpress.org/plugins/wp-job-manager/


Viewing all articles
Browse latest Browse all 386

Trending Articles