У этого пользователя нет любимых тем.
Любимые темы форума
Созданные темы форума
Состояние |
Тема
|
Сторонник | Голоса | Записи | Свежесть |
---|---|---|---|---|---|
WP Jobmanager application form is shown in all languages in the application form at the job edit
Начато по: ericH-23
в: English Support
Problem: You are developing a site using WP Job Manager and WPML and have encountered an issue where the application form in the job edit form displays in all languages instead of only the form of the current language. Solution: To resolve this issue, we recommend modifying the code to ensure the application form displays only in the current language. Please follow these steps after making a full site backup: 1) Navigate to the wp-content/plugins/wp-job-manager-applications/includes/ folder. wp-job-manager-applications-functions.php file for editing. From function get_application_forms() { $posts = new WP_Query( array( 'post_type' => 'job_application_form', 'posts_per_page' => - 1, 'suppress_filters' => true, 'orderby' => 'title', 'order' => 'ASC', ) ); $default_form = WP_Job_Manager_Applications_Default_Form::get_default_form(); if ( $posts->post_count <= 1 ) { return null; } $application_forms = []; if ( array_key_exists( 'ID', $default_form ) ) { $application_forms[ $default_form['ID'] ] = $default_form['post_title']; } foreach ( $posts->posts as $post ) { $application_forms[ $post->ID ] = $post->post_title; } return apply_filters( 'job_application_forms', $application_forms ); } To function get_application_forms() { $posts = new WP_Query( array( 'post_type' => 'job_application_form', 'posts_per_page' => - 1, 'suppress_filters' => false, // replace true with false 'orderby' => 'title', 'order' => 'ASC', ) ); $default_form = WP_Job_Manager_Applications_Default_Form::get_default_form(); if ( $posts->post_count < 1 ) { // replace <= with < return null; } $application_forms = []; /* comment out this part if you don't want to see the default form in other languages if ( array_key_exists( 'ID', $default_form ) ) { $application_forms[ $default_form['ID'] ] = $default_form['post_title']; }*/ foreach ( $posts->posts as $post ) { $application_forms[ $post->ID ] = $post->post_title; } return apply_filters( 'job_application_forms', $application_forms ); } 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 do not hesitate to open a new support ticket at WPML support forum. |
|
0 | 6 | 1 месяц назад | |
Wp Jobmanager resume manager: resume gives 404
1
2
Начато по: ericH-23
в: English Support
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. class-wp-resume-manager-post-types.php file for editing. $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. 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. |
|
0 | 17 | 1 месяц назад | |
I am developing a site using WP Jobmanager and WPML. I want users to select a resume from a dropdown…
Начато по: ericH-23
в: 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 месяц, 1 неделя назад | |
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 | 1 месяц, 1 неделя назад | |
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 | 1 месяц, 1 неделя назад | |
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 | 1 месяц, 2 недели назад | |
Media settings
Начато по: ericH-23 в: English Support |
1 | 4 | 1 месяц, 2 недели назад | ||
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 | 2 месяца назад | |
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 | 2 месяца назад | |
Resume Manager of WP Jobmanager
Начато по: ericH-23
в: English Support
Problem: |
|
2 | 33 | 2 месяца назад | |
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 | 2 месяца назад | |
Translating Profile Type of Buddyboss
1
2
3
4
Начато по: ericH-23 в: English Support |
|
3 | 56 | 2 месяца, 1 неделя назад | |
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 | 2 месяца, 2 недели назад | |
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 | 2 месяца, 2 недели назад | |
I a new job listing is copied into other languages for every language a Buddyboss activity post is d…
Начато по: ericH-23 в: Chat Support |
|
1 | 2 | 2 месяца, 3 недели назад |