Questo utente non ha argomenti preferiti.
Argomenti preferiti del forum
Argomenti del forum creati
Stato |
Argomento
|
Sostenitore | Voci | Messaggi | Freschezza |
---|---|---|---|---|---|
WPML Menus conflicting with Object Cache Pro
Iniziato da: adrienR-5 in: English Support |
|
2 | 4 | 4 mese, 1 settimana fa | |
Object Cache Pro enabled and I can't see my menus (in other languages)
Iniziato da: adrienR-5 in: Chat Support |
|
1 | 2 |
4 mese, 2 settimana fa
|
|
How to translate Meta Box Post field (inside User WordPress profile)
Iniziato da: 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 | 5 mese fa | |
Fetch with WP_Query or get_posts only the posts from a specific taxonomy (for current language)
Iniziato da: adrienR-5 in: English Support |
|
2 | 4 | 5 mese, 3 settimana fa | |
MB AIO + Bricks + WPML – How to translate the custom archive slug for a CPT
Iniziato da: adrienR-5 in: English Support |
|
2 | 13 | 6 mese, 2 settimana fa | |
How to translate archive page of custom CPT? And remove translations?
1
2
Iniziato da: 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 | 6 mese, 2 settimana fa | |
2,376 hreflang conflicts within page source code
1
2
Iniziato da: 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 | 6 mese, 2 settimana fa | |
Missing MB fields to translate inside WPML Advanced Translation Editor
1
2
Iniziato da: 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 | 6 mese, 2 settimana fa | |
How to remove / filters link tags for alternate
Iniziato da: 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 | 6 mese, 3 settimana fa | |
PHP filters / functions to get the translated ID of a media
Iniziato da: 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 | 7 mese, 1 settimana fa | |
WPML > String Translation (Hide Bricks or gutenberg domains)
Iniziato da: 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 | 7 mese, 1 settimana fa | |
Is there a way to get the country name and not just the language from WPML?
Iniziato da: adrienR-5 in: Chat Support |
|
1 | 2 |
7 mese, 1 settimana fa
|
|
Default locale modified – How can String translation follow?
Iniziato da: 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 | 7 mese, 2 settimana fa | |
How can we choose Meta Box Post field value in other languages?
Iniziato da: adrienR-5 in: English Support |
|
2 | 5 | 7 mese, 3 settimana fa | |
How to translate MB fields within a MB setting page?
1
2
Iniziato da: adrienR-5 in: English Support |
|
2 | 28 | 8 mese, 3 settimana fa |