This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
WPML Menus conflicting with Object Cache Pro
Started by: adrienR-5 in: English Support |
2 | 4 | 1 month, 2 weeks ago | ||
How to translate Meta Box Post field (inside User WordPress profile)
Started by: adrienR-5
in: English Support
Problem: add_filter( 'wpml_translatable_user_meta_fields', function( $fields ) {<br /> $fields[] = 'franchise_associated';<br /> return $fields;<br />} ); Then, navigate to WPML > String Translation. Search for 'franchise_associated' and translate the CPT numerical id. For example, in the provided Sandbox site, translate from 68 to 70. 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. |
2 | 6 | 2 months ago | ||
Fetch with WP_Query or get_posts only the posts from a specific taxonomy (for current language)
Started by: adrienR-5 in: English Support |
2 | 4 | 3 months ago | ||
MB AIO + Bricks + WPML – How to translate the custom archive slug for a CPT
Started by: adrienR-5 in: English Support |
2 | 13 | 3 months, 2 weeks ago | ||
How to translate archive page of custom CPT? And remove translations?
1
2
Started by: adrienR-5
in: English Support
Problem: function sws_remove_cpt_archive_for_other_languages() {<br /> $current_language = apply_filters('wpml_current_language', null);<br /> $default_language = apply_filters('wpml_default_language', null);<br /> if ($current_language !== $default_language) {<br /> add_action('template_redirect', 'sws_disable_cpt_archive');<br /> }<br />}<br />function sws_disable_cpt_archive() {<br /> $cpts_to_disable = array('cpt1', 'cpt2', 'cpt3');<br /> foreach ($cpts_to_disable as $cpt) {<br /> if (is_post_type_archive($cpt)) {<br /> wp_redirect(apply_filters('wpml_home_url', home_url()));<br /> exit();<br /> }<br /> }<br />}<br />add_action('init', 'sws_remove_cpt_archive_for_other_languages', -1); We also suggested modifying the \MBCPT\PostTypeRegister::get_post_types method in wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/PostTypeRegister.php by setting suppress_filters = false . This ensures get_posts will fetch posts only in the specific language by bypassing WPML filters. 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 further assistance is needed, please open a new support ticket. |
2 | 20 | 3 months, 3 weeks ago | ||
2,376 hreflang conflicts within page source code
1
2
Started by: adrienR-5
in: English Support
Problem: Please note that the solution provided 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. |
2 | 17 | 3 months, 3 weeks ago | ||
Missing MB fields to translate inside WPML Advanced Translation Editor
1
2
Started by: adrienR-5
in: English Support
Problem: add_filter('wpml_tm_job_field_is_translatable', '__return_true'); After adding this code, edit the page in the default language, make a minor edit, and then update it. This should allow the missing fields to appear when using the search field in the Advanced Translation Editor. If this solution does not resolve your issue, or if it seems outdated or irrelevant 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, you can open a new support ticket for further assistance at WPML support forum. |
2 | 20 | 3 months, 3 weeks ago | ||
How to remove / filters link tags for alternate
Started by: adrienR-5
in: English Support
Problem: wpml_hreflangs hook to change or remove the alternate hreflang links. We provided examples of how to implement this filter with links to relevant documentation: If this solution does not apply to your case, or if it seems outdated, we highly recommend opening a new support ticket. Also, 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. For further assistance, you can contact us directly at WPML support forum. |
2 | 3 | 4 months ago | ||
PHP filters / functions to get the translated ID of a media
Started by: adrienR-5
in: English Support
Problem: wpml_object_id hook to obtain the ID of a translated media. Here is an example of how to use this hook to get the German translation ID for an attachment: echo apply_filters( 'wpml_object_id', 25, 'attachment', FALSE, 'de' ); If the translation is missing, it will return NULL. For more details, please refer to our documentation: 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 you still need assistance, please open a new support ticket at WPML Support Forum. |
2 | 3 | 4 months, 1 week ago | ||
WPML > String Translation (Hide Bricks or gutenberg domains)
Started by: adrienR-5
in: English Support
Problem: If this solution does not apply to your situation, or if it seems outdated, we recommend opening a new support ticket. We also advise checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum. |
2 | 10 | 4 months, 1 week ago | ||
Default locale modified – How can String translation follow?
Started by: adrienR-5
in: English Support
Problem: If the solution provided does not apply or is outdated, or if you encounter further issues, 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. Should you need additional assistance, please do not hesitate to open a new support ticket. |
2 | 3 | 4 months, 2 weeks ago | ||
How can we choose Meta Box Post field value in other languages?
Started by: adrienR-5 in: English Support |
2 | 5 | 4 months, 3 weeks ago | ||
How to translate MB fields within a MB setting page?
1
2
Started by: adrienR-5 in: English Support |
2 | 28 | 5 months, 3 weeks ago | ||
Can't add Dutch (Belgium) as custom language – The default locale already exists
Started by: adrienR-5
in: English Support
Problem: _icl_languages for any entries with a default locale set to 'nl_BE'. Upon inspection, it was found that the locale should have been 'nl_NL'. The client corrected these values in their database, which resolved the issue and allowed them to add Dutch (Belgium) as a custom language. If this solution does not apply to your case, or if it seems outdated, we highly recommend checking the related 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. |
2 | 5 | 6 months, 1 week ago | ||
Total number of words to translate
Started by: adrienR-5 in: Assistance en français |
2 | 2 | 7 months, 4 weeks ago |