У этого пользователя нет любимых тем.
Любимые темы форума
Созданные темы форума
Состояние |
Тема
|
Сторонник | Голоса | Записи | Свежесть |
---|---|---|---|---|---|
WPML Menus conflicting with Object Cache Pro
Начато по: adrienR-5 в: English Support |
|
2 | 4 | 4 месяца, 2 недели назад | |
Object Cache Pro enabled and I can't see my menus (in other languages)
Начато по: adrienR-5 в: Chat Support |
|
1 | 2 |
4 месяца, 2 недели назад
|
|
How to translate Meta Box Post field (inside User WordPress profile)
Начато по: adrienR-5
в: 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 | 5 месяцев назад | |
Fetch with WP_Query or get_posts only the posts from a specific taxonomy (for current language)
Начато по: adrienR-5 в: English Support |
|
2 | 4 | 6 месяцев назад | |
MB AIO + Bricks + WPML — How to translate the custom archive slug for a CPT
Начато по: adrienR-5 в: English Support |
|
2 | 13 | 6 месяцев, 2 недели назад | |
How to translate archive page of custom CPT? And remove translations?
1
2
Начато по: adrienR-5
в: 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 | 6 месяцев, 3 недели назад | |
2,376 hreflang conflicts within page source code
1
2
Начато по: adrienR-5
в: 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 | 6 месяцев, 3 недели назад | |
Missing MB fields to translate inside WPML Advanced Translation Editor
1
2
Начато по: adrienR-5
в: 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 | 6 месяцев, 3 недели назад | |
How to remove / filters link tags for alternate
Начато по: adrienR-5
в: 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 | 7 месяцев назад | |
PHP filters / functions to get the translated ID of a media
Начато по: adrienR-5
в: 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 | 7 месяцев, 1 неделя назад | |
WPML > String Translation (Hide Bricks or gutenberg domains)
Начато по: adrienR-5
в: 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 | 7 месяцев, 1 неделя назад | |
Is there a way to get the country name and not just the language from WPML?
Начато по: adrienR-5 в: Chat Support |
|
1 | 2 |
7 месяцев, 2 недели назад
|
|
Default locale modified — How can String translation follow?
Начато по: adrienR-5
в: 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 | 7 месяцев, 2 недели назад | |
How can we choose Meta Box Post field value in other languages?
Начато по: adrienR-5 в: English Support |
|
2 | 5 | 7 месяцев, 3 недели назад | |
How to translate MB fields within a MB setting page?
1
2
Начато по: adrienR-5 в: English Support |
|
2 | 28 | 8 месяцев, 3 недели назад |