هذا المستخدم ليس لديه مواضيع مفضلة.
مواضيع المنتدى المفضلة
تم إنشاء مواضيع المنتدى
الحالة |
عنوان
|
مؤيد، مشجع، داعم | أصوات | المقالات | نضارة |
---|---|---|---|---|---|
Problem with Tag Translation via ACF and WPML
بدأ ب: attilioC-2
في: English Support
Problem: // Assuming $image_id is already defined in your template as the ID of the main image.<br />$tag_ids = get_field('tags', $image_id); // Ensure 'tags' is the correct name of your ACF field<br /><br />if ($tag_ids) {<br /> echo '<span class="label-categories label-tags"><b>Tags: </b>';<br /> // Store the tags in an array to ensure uniqueness<br /> $displayed_tags = array();<br /><br /> foreach ($tag_ids as $tag_id) {<br /> // Get the current language<br /> $current_language = apply_filters('wpml_current_language', NULL);<br /><br /> // Get the translated term ID<br /> $translated_tag_id = apply_filters('wpml_object_id', $tag_id, 'post_tag', true, $current_language);<br /><br /> // Get the translated term object<br /> $tag = get_term($translated_tag_id);<br /><br /> if (!is_wp_error($tag) && !in_array($tag->term_id, $displayed_tags)) {<br /> echo '<a href="'. esc_url(get_term_link($tag)) .'" style="margin-right:5px">' . esc_html($tag->name) . '</a> ';<br /> $displayed_tags[] = $tag->term_id; // Add tag to the displayed list<br /> }<br /> }<br /> echo '</span>';<br />}<br /> If this solution does not resolve your issue or seems outdated, we 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 | 13 | قبل 6 أشهر، أسبوعين | ||
tag synchronization
بدأ ب: attilioC-2 في: Chat Support |
1 | 2 |
قبل 7 أشهر
|
||
Tag translation synchronisation
بدأ ب: attilioC-2 في: Chat Support |
1 | 2 |
قبل 7 أشهر
|
||
Duplicating tags in the second language
بدأ ب: attilioC-2 في: English Support |
2 | 4 | قبل 7 أشهر | ||
Translations for tags in the second language are not displayed
بدأ ب: attilioC-2
في: English Support
Problem: Solution: If this solution does not resolve your issue, or if it seems outdated, we recommend opening a new support ticket. Additionally, 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. For further assistance, please visit our support forum at WPML Support Forum. |
2 | 12 | قبل 7 أشهر، 1 أسبوع | ||
Problems with matching translated tag posts
بدأ ب: attilioC-2 في: Chat Support |
1 | 2 |
قبل 7 أشهر، 1 أسبوع
|
||
In the mobile verision you do not see the Overlay Menu for the second language,
بدأ ب: attilioC-2
في: English Support
Problem: Solution: If the theme is not certified, you might encounter issues with multilingual functionality. In the theme file /wp-content/themes/marquez/block-parts/overlay_navigation.php , the theme author uses a custom function to display the navigation menu. We recommend replacing this custom function with the standard WordPress function wp_nav_menu() to ensure compatibility with WPML. Here is an example of how you can adjust the code: <div class="column width-12"> <nav class="overlay-navigation nav-block pull-left clear-float-on-mobile"> <span class="menu-title"><?php echo esc_html($thememountain_overlay_secondary_menu_title); ?></span> <?php wp_nav_menu( array( 'theme_location' => 'overlay_menu' ) ); ?> </nav> </div> For more information on how to use wp_nav_menu() , please refer to the WordPress Developer Documentation. Please note that custom code assistance is beyond the scope of WPML support. If you need help with custom code, consider contacting one of our certified partners. Keep in mind that the theme's last update was in 2017, which is quite outdated. We recommend using a theme from the list of compatible themes to ensure proper content translation on your site. If the solution provided here is not relevant to your case, either because it's outdated or not applicable, we highly recommend checking related known issues on the WPML Known Issues page, 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. |
3 | 8 | قبل 9 أشهر، 1 أسبوع | ||
WPML chat support ticket by attilioC-2 – 1714474927
بدأ ب: attilioC-2 في: Chat Support |
1 | 2 |
قبل 9 أشهر، 1 أسبوع
|
||
Non visualizzo la traduzione delle stringhe
بدأ ب: attilioC-2 في: Assistenza in italiano |
2 | 4 | قبل 4 سنوات، 4 أشهر | ||
Problem with old chrome version
بدأ ب: attilioC-2 في: English Support |
2 | 2 | قبل 4 سنوات، 6 أشهر |