이 사용자는 즐겨찾는 주제가 없습니다.
즐겨찾는 포럼 주제
포럼 주제가 생성되었습니다.
상태 |
주제
|
서포터 | 목소리 | 게시물 | 선도 |
---|---|---|---|---|---|
WPML Menus conflicting with Object Cache Pro
시작한 사람: adrienR-5 안에: English Support |
|
2 | 4 | 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 주 전에 | |
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 주 전에 | |
Can't add Dutch (Belgium) as custom language – The default locale already exists
시작한 사람: adrienR-5
안에: 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 | 9 월, 1 주 전에 | |
Total number of words to translate
시작한 사람: adrienR-5 안에: Assistance en français |
|
2 | 2 | 11 월 전에 |