This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing a 404 error when a non-admin user tries to access a resume in a different language on your site using WP Job Manager's Resume Manager, it might be due to the translation of the resume post type's slug. Admin users do not face this issue because they bypass certain permission checks.
Solution:
We recommend following these steps to resolve the issue:
1) Navigate to the
wp-content/plugins/wp-job-manager-resumes/includes/
folder.
2) Open the
class-wp-resume-manager-post-types.php
file for editing.
3) Locate line 224 and modify the code from:
$rewrite = [ 'slug' => _x( 'resume', 'Resume permalink - resave permalinks after changing this', 'wp-job-manager-resumes' ), 'with_front' => false, 'feeds' => false, 'pages' => false, ];
To:
$rewrite = [ 'slug' => 'resume', 'with_front' => false, 'feeds' => false, 'pages' => false, ];
4) Go to WPML>>Settings>>Slug translations and ensure that "Translate custom post and taxonomy base slugs (via WPML String Translation)." option is selected.
5) In the "Post Types Translation" section, translate the Resumes Post Type slugs.
6) Navigate to Settings>>Permalinks and resave the settings.
If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please open a new support ticket.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 15 replies, has 0 voices.
Last updated by 3 days, 5 hours ago.
Assisted by: Bigul.