למשתמש זה אין נושאים מועדפים.
נושאי הפורום המועדפים
נושאי הפורום נוצרו
מצב |
נוֹשֵׂא
|
תוֹמֵך | קולות | פוסטים | טְרִיוּת |
---|---|---|---|---|---|
Meta Box Post field [attached to User Profile] – How to modify query so that is returning only post …
התחיל על ידי: adrienR-5 ב: Chat Support |
|
0 | 2 | לפני שבוע 1, 4 ימים | |
WPML Menus conflicting with Object Cache Pro
התחיל על ידי: adrienR-5 ב: English Support |
|
2 | 4 | לפני 5 חודשים, 2 שבועות | |
Object Cache Pro enabled and I can't see my menus (in other languages)
התחיל על ידי: adrienR-5 ב: Chat Support |
|
1 | 2 |
לפני 5 חודשים, 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 | לפני 6 חודשים | |
Fetch with WP_Query or get_posts only the posts from a specific taxonomy (for current language)
התחיל על ידי: adrienR-5 ב: English Support |
|
2 | 4 | לפני 6 חודשים, 4 שבועות | |
MB AIO + Bricks + WPML – How to translate the custom archive slug for a CPT
התחיל על ידי: adrienR-5 ב: English Support |
|
2 | 13 | לפני 7 חודשים, 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 | לפני 7 חודשים, 2 שבועות | |
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 | לפני 7 חודשים, 2 שבועות | |
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 | לפני 7 חודשים, 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 חודשים, 4 שבועות | |
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 | לפני 8 חודשים, שבוע 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 | לפני 8 חודשים, שבוע 1 | |
Is there a way to get the country name and not just the language from WPML?
התחיל על ידי: adrienR-5 ב: Chat Support |
|
1 | 2 |
לפני 8 חודשים, שבוע 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 | לפני 8 חודשים, 2 שבועות | |
How can we choose Meta Box Post field value in other languages?
התחיל על ידי: adrienR-5 ב: English Support |
|
2 | 5 | לפני 8 חודשים, 3 שבועות |