ผู้ใช้รายนี้ไม่มีหัวข้อที่ชื่นชอบ.
หัวข้อฟอรั่มที่ชื่นชอบ
สร้างหัวข้อฟอรัมแล้ว
สถานะ |
หัวข้อ
|
ผู้สนับสนุน | เสียง | กระทู้ | ความสดชื่น |
---|---|---|---|---|---|
I disabled automatic translations and have no extra code but if I edit a job, he is saved into all l...
เริ่มโดย: ericH-23
ใน: 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 | 2 months, 3 weeks มาแล้ว | |
How can I or shall I delete all translation strings in the backend?
เริ่มโดย: ericH-23
ใน: 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 | 2 months, 3 weeks มาแล้ว | |
Resume Manager Count limit not working with second language
เริ่มโดย: ericH-23
ใน: 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 | 3 months มาแล้ว | |
Media settings
เริ่มโดย: ericH-23 ใน: English Support |
1 | 4 | 3 months มาแล้ว | ||
Resume Manager posts are not deleted
เริ่มโดย: ericH-23
ใน: 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 months, 1 weeks มาแล้ว | |
Compatibilty issue with "Tax Exemption Woocommerce"
เริ่มโดย: ericH-23
ใน: 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 months, 1 weeks มาแล้ว | |
Resume Manager of WP Jobmanager
เริ่มโดย: ericH-23
ใน: English Support
Problem: |
|
2 | 33 | 3 months, 2 weeks มาแล้ว | |
Post deletion documentation, when what?
1
2
เริ่มโดย: ericH-23
ใน: 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 | 3 months, 2 weeks มาแล้ว | |
WP Jobmanager add a new job with duplicates too much activity entries in Buddyboss (for every langua…
เริ่มโดย: ericH-23
ใน: English Support
Problem: If this solution does not apply to your case, or if it seems outdated, we highly recommend opening a new support ticket. Please also check related known issues (https://wpml.org/known-issues/), verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can contact us directly at the WPML support forum. |
|
0 | 14 | 3 months, 4 weeks มาแล้ว | |
String translation takes too much time
เริ่มโดย: ericH-23
ใน: English Support
Problem: 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 problem persists, please open a new support ticket. |
|
0 | 8 | 3 months, 4 weeks มาแล้ว | |
I have jobs posts copied automatically and they have location fields only in one language
เริ่มโดย: ericH-23 ใน: English Support |
1 | 2 | 4 months, 1 weeks มาแล้ว | ||
Application with a resume with WP Jobmanager shows all language versions of resumes in dropdown list
เริ่มโดย: ericH-23 ใน: English Support |
1 | 3 | 4 months, 1 weeks มาแล้ว | ||
Adding posts in a second language and making available in all languages
เริ่มโดย: ericH-23
ใน: English Support
Problem: add_action('wp_insert_post', 'my_duplicate_on_publishh');<br />function my_duplicate_on_publishh($post_id) {<br /> if (get_post_meta($post_id, '_duplicate_processed', true)) {<br /> return;<br /> }<br /> $post = get_post($post_id);<br /> if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return;<br /> if (isset($post->post_type) && $post->post_type === 'revision') return;<br /> if (isset($post->post_type) && $post->post_type === 'job_listing') {<br /> remove_action('wp_insert_post', 'my_duplicate_on_publishh');<br /> $is_translated = apply_filters('wpml_element_has_translations', '', $post_id, $post->post_type);<br /> if (!$is_translated) {<br /> error_log("Creating duplicates for post ID: $post_id");<br /> do_action('wpml_admin_make_post_duplicates', $post_id);<br /> update_post_meta($post_id, '_duplicate_processed', true);<br /> }<br /> add_action('wp_insert_post', 'my_duplicate_on_publishh');<br /> }<br />} Ensure that listings are set to 'translatable' in WPML->Settings. If further customization is needed, consider hiring a specialized developer with WPML experience from https://wpml.org/contractors/. If this solution does not resolve your issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket at https://wpml.org/forums/forum/english-support/. |
|
3 | 12 | 4 months, 3 weeks มาแล้ว | |
Jobmanager resume limit count is false
1
2
เริ่มโดย: ericH-23
ใน: English Support
Problem: resume_manager_count_user_resumes function within your plugin files. Specifically, us the workaround in the following comment: https://wpml.org/forums/topic/jobmanager-resume-limit-count-is-false/#post-16373844 This modification ensures that the resume count only includes original language posts, excluding translations, thus providing an accurate count per user. Take note, that the author is informed and will implement this fix in a future version of the plugin. If this solution does not resolve your issue or becomes 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 further assistance is needed, please open a new support ticket at WPML support forum. |
|
3 | 18 | 4 months, 3 weeks มาแล้ว | |
Eror at automatic translation
เริ่มโดย: ericH-23 ใน: English Support |
|
2 | 5 | 5 months มาแล้ว |