Người dùng này không có chủ đề yêu thích.
Chủ đề diễn đàn yêu thích
Chủ đề diễn đàn đã được tạo
Trạng thái |
Đề tài
|
Người ủng hộ | Tiếng nói | Bài viết | Độ tươi |
---|---|---|---|---|---|
WP Jobmanager bookmark in other language empty
Bắt đầu bởi: ericH-23 tRONG: English Support |
1 | 2 | 1 days, 5 hours trước | ||
I am developing a site using WP Jobmanager and WPML. I want users to select a resume from a dropdown…
Bắt đầu bởi: ericH-23
tRONG: English Support
Problem: The client is developing a site using WP Job Manager and WPML and encountered an issue where the dropdown list for selecting resumes shows all language versions instead of just the current language version. Solution: We recommended the client make specific changes in the code to ensure the dropdown only displays resumes in the current language. Here are the steps: 1) Navigate to the wp-content/plugins/wp-job-manager-resumes/includes/ folder. class-wp-resume-manager-apply.php file for editing. $args = apply_filters( 'resume_manager_get_application_form_resumes_args', [ 'post_type' => 'resume', 'post_status' => [ 'publish', 'hidden' ], 'ignore_sticky_posts' => 1, 'posts_per_page' => -1, 'orderby' => 'date', 'order' => 'desc', 'author' => get_current_user_id(), ] ); To: $args = apply_filters( 'resume_manager_get_application_form_resumes_args', [ 'post_type' => 'resume', 'post_status' => [ 'publish', 'hidden' ], 'ignore_sticky_posts' => 1, 'posts_per_page' => -1, 'orderby' => 'date', 'order' => 'desc', 'author' => get_current_user_id(), 'suppress_filters' => false ] ); Please ensure to back up your site before making these changes. If this solution does not resolve your issue or seems outdated, we 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 further assistance is needed, please open a new support ticket at WPML support forum. |
0 | 6 | 1 days, 20 hours trước | ||
I disabled automatic translations and have no extra code but if I edit a job, he is saved into all l…
Bắt đầu bởi: ericH-23
tRONG: English Support
Problem: The client is experiencing an issue where editing a job post in one language results in updates being saved across all language versions, leading to prolonged save times. They seeks a solution to save the job in the original language without automatically updating all the language versions immediately. Solution: We informed that due to the nature of WPML and its handling of duplicated posts, any updates to the original post would automatically sync with the duplicates. To manage this, the client can manually set the duplicates to 'Translate Independently' by clicking the Translate Independently button on the duplicate post in the secondary language. This action prevents automatic updates to the translated versions when the original is edited. Later, if needed, the translated versions can be updated manually by selecting the Overwrite with - option. For detailed steps, please refer to the following documentation: If this solution does not apply or is outdated, we 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 further assistance is needed, please open a new support ticket at WPML support forum. |
1 | 5 | 3 days, 4 hours trước | ||
I duplicate a job to other languages and have several taxonomies
Bắt đầu bởi: ericH-23 tRONG: English Support |
1 | 9 | 3 days, 20 hours trước | ||
How can I or shall I delete all translation strings in the backend?
Bắt đầu bởi: ericH-23
tRONG: English Support
Problem: The client is developing a site and needs translations only on the frontend. They are looking to improve site speed by deleting unnecessary backend translation strings in WPML. Solution: If you're experiencing similar issues, we recommend following these steps to delete unnecessary strings to potentially improve your site's speed: 1. Ensure you have a full site backup before making changes. This process will remove all untranslated strings in the selected domains, and they will no longer appear on the String Translation screen. For more details, refer to our documentation here: https://wpml.org/documentation/getting-started-guide/string-translation/#how-to-delete-a-string Please note that this solution might be outdated or not applicable to your specific case. 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 the issue persists, please open a new support ticket at https://wpml.org/forums/forum/english-support/. |
1 | 3 | 3 days, 20 hours trước | ||
Wp Jobmanager resume manager: resume gives 404
Bắt đầu bởi: ericH-23 tRONG: English Support |
0 | 15 | 4 days, 7 hours trước | ||
Buddyboss job related jobs shon in second language same job
Bắt đầu bởi: ericH-23 tRONG: English Support |
1 | 5 | 6 days, 5 hours trước | ||
WP Jobmanager application form is shown in all languages in the application form at the job edit
Bắt đầu bởi: ericH-23 tRONG: English Support |
0 | 4 | 6 days, 21 hours trước | ||
Resume Manager Count limit not working with second language
Bắt đầu bởi: ericH-23
tRONG: English Support
Problem: function resume_manager_count_user_resumes( $user_id = 0 ) { global $wpdb; if ( ! $user_id ) { $user_id = get_current_user_id(); } // Check if WPML is active if ( defined( 'ICL_LANGUAGE_CODE' ) ) { // Get the default language code $default_language = apply_filters( 'wpml_default_language', null ); // Query to count resumes across all languages (including translations) return $wpdb->get_var( $wpdb->prepare( " SELECT COUNT(DISTINCT p.ID) FROM {$wpdb->posts} p LEFT JOIN {$wpdb->prefix}icl_translations t ON p.ID = t.element_id WHERE p.post_author = %d AND p.post_type = 'resume' AND p.post_status IN ( 'publish', 'pending', 'expired', 'hidden' ) AND ( t.language_code = %s OR t.source_language_code IS NULL ) ", $user_id, $default_language ) ); } // Default query if WPML is not active (only counts resumes in the default language) return $wpdb->get_var( $wpdb->prepare( " SELECT COUNT(ID) FROM {$wpdb->posts} WHERE post_author = %d AND post_type = 'resume' AND post_status IN ( 'publish', 'pending', 'expired', 'hidden' ); ", $user_id ) ); } // Check if the resume limit is reached and remove the "Add Resume" button function resume_manager_add_resume_button( $user_id = 0 ) { $limit = 5; // Set the resume limit (this could be dynamic or configurable) $resume_count = resume_manager_count_user_resumes( $user_id ); if ( $resume_count >= $limit ) { // Add custom code to hide or disable the "Add Resume" button echo '<style>#add_resume_button { display: none; }</style>'; } } If this solution does not resolve the issue, we can provide a WPML test site to further investigate and solve the problem. Please note that this solution might be outdated or not applicable to your specific case. 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 the issue persists, please open a new support ticket at WPML support forum. |
0 | 5 | 1 weeks, 4 days trước | ||
Media settings
Bắt đầu bởi: ericH-23 tRONG: English Support |
1 | 4 | 1 weeks, 5 days trước | ||
Resume Manager posts are not deleted
Bắt đầu bởi: ericH-23
tRONG: English Support
Problem: The client reported an issue where resumes are duplicated like jobs in the WP Job Manager Resumes plugin, and when deleted from the frontend, only the current resume is deleted, not the copies. Solution: We recommend following these steps after ensuring you have a full site backup: 1) Navigate to the /wp-content/plugins/wp-job-manager-resumes/includes/ folder. class-wp-resume-manager-shortcodes.php file for editing. case 'delete': // Trash it. wp_trash_post( $resume_id ); To case 'delete': // Trash it. // WPML workaround for compsupp-7757 $trid = apply_filters( 'wpml_element_trid', NULL, $resume_id , 'post_resume' ); $translations = apply_filters( 'wpml_get_element_translations', NULL, $trid, 'resume' ); if ( !empty( $translations ) ) { foreach ( $translations as $lang => $translation ) { $translation_id = absint( $translation->element_id ); wp_trash_post( $translation_id ); } } Please note that this workaround will delete translations, irrespective of the "When deleting a post, delete translations as well" option. If this solution does not resolve your issue or 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 the problem persists, please open a new support ticket at WPML support forum. |
0 | 8 | 3 weeks, 2 days trước | ||
Compatibilty issue with "Tax Exemption Woocommerce"
Bắt đầu bởi: ericH-23
tRONG: English Support
Problem: If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, 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. Additionally, if you need further assistance, please open a new support ticket at WPML support forum. |
0 | 5 | 3 weeks, 2 days trước | ||
Resume Manager of WP Jobmanager
Bắt đầu bởi: ericH-23
tRONG: English Support
Problem: |
2 | 33 | 4 weeks trước | ||
Post deletion documentation, when what?
1
2
Bắt đầu bởi: ericH-23
tRONG: English Support
Problem: The client was experiencing issues with the WPML setting 'When deleting a post, delete translations as well' not functioning correctly for duplicated posts when deleted from the frontend. The main post would be deleted, but its duplicates would remain. Solution: We recommended the following steps after ensuring a full site backup: 1) Navigate to the /wp-content/plugins/wp-job-manager/includes/ folder. class-job-dashboard-shortcode.php file for editing. From case 'delete': // Trash it. wp_trash_post( $job_id ); To case 'delete': // Trash it. // WPML workaround for compsupp-7729 $trid = apply_filters( 'wpml_element_trid', NULL, $job_id , 'post_job_listing' ); $translations = apply_filters( 'wpml_get_element_translations', NULL, $trid, 'job_listing' ); if ( !empty( $translations ) ) { foreach ( $translations as $lang => $translation ) { $translation_id = absint( $translation->element_id ); wp_trash_post( $translation_id ); } } This code ensures that when a job post is deleted from the frontend, all its translations are also trashed, regardless of the WPML setting. If this solution does not resolve your issue or seems irrelevant due to updates or differences in your case, 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 at WPML support forum. |
0 | 18 | 4 weeks trước | ||
Translating Profile Type of Buddyboss
1
2
3
4
Bắt đầu bởi: ericH-23 tRONG: English Support |
3 | 56 | 1 months trước |