למשתמש זה אין נושאים מועדפים.
נושאי הפורום המועדפים
נושאי הפורום נוצרו
מצב |
נוֹשֵׂא
|
תוֹמֵך | קולות | פוסטים | טְרִיוּת |
---|---|---|---|---|---|
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 חודשים, 3 שבועות | |
tag synchronization
התחיל על ידי: attilioC-2 ב: Chat Support |
|
1 | 2 |
לפני 7 חודשים, שבוע 1
|
|
Tag translation synchronisation
התחיל על ידי: attilioC-2 ב: Chat Support |
|
1 | 2 |
לפני 7 חודשים, שבוע 1
|
|
Duplicating tags in the second language
התחיל על ידי: attilioC-2 ב: English Support |
|
2 | 4 | לפני 7 חודשים, שבוע 1 | |
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 חודשים, 2 שבועות
|
|
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 חודשים, 2 שבועות | |
WPML chat support ticket by attilioC-2 – 1714474927
התחיל על ידי: attilioC-2 ב: Chat Support |
|
1 | 2 |
לפני 9 חודשים, 2 שבועות
|
|
Non visualizzo la traduzione delle stringhe
התחיל על ידי: attilioC-2 ב: Assistenza in italiano |
|
2 | 4 | לפני 4 שנים, 5 חודשים | |
Problem with old chrome version
התחיל על ידי: attilioC-2 ב: English Support |
2 | 2 | לפני 4 שנים, 6 חודשים |