Change jobs url (NOT slug)
-
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.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Change jobs url (NOT slug)’ is closed to new replies.