ليس لدى هذا المستخدم أي مواضيع مفضلة.
مواضيع المنتدى المفضلة
مواضيع المنتدى التي تم إنشاؤها
| الحالة |
الموضوع
|
داعم | الأصوات | المشاركات | الحداثة |
|---|---|---|---|---|---|
|
My Danish page has been
بدأه: kasperA في: Chat Support |
|
0 | 2 | قبل 10 أشهر، أسبوعين | |
|
ACF problem with fields and showing on front end
1
2
بدأه: kasperA
في: English Support
Problem: define( 'ACFML_HIDE_FIELD_ANNOTATIONS', true ); to the wp-config file, but it resulted in strange field names without solving the issue. Solution: In a follow-up, we advised the client to copy and paste the tag as demonstrated in a screen recording we provided. We also reminded the client to refresh the Elementor editor or clear the Elementor and browser cache if the tags still did not appear after editing. If this solution does not seem relevant, please do not hesitate to open a new support ticket with us for further assistance: WPML support forum. |
|
2 | 19 | قبل 1 سنة، 10 أشهر | |
|
Custom tags not showing translation
بدأه: kasperA في: English Support |
1 | 2 | قبل 1 سنة، 11 شهر | ||
|
Translation missing from ATE
بدأه: kasperA في: Chat Support |
|
1 | 2 |
قبل 1 سنة، 11 شهر
|
|
|
I want to add custom link to the language switcher
بدأه: kasperA
في: English Support
Problem: Solution:
add_filter('wp_nav_menu_items', 'new_nav_menu_items', 10, 2);
function new_nav_menu_items($items, $args) {
// get languages
$languages = apply_filters( 'wpml_active_languages', NULL, 'skip_missing=0' );
// add $args->theme_location == 'primary-menu' in the conditional if we want to specify the menu location.
$dropdown_items = '';
if ( $languages) {
foreach($languages as $language){
if(!$language['active']){
$dropdown_items .= '<li class="menu-item wpml-ls-item wpml-ls-menu-item"><a class="elementor-sub-item" href="' . $language['url'] . '"><img src="' . $language['country_flag_url'] . '" height="12" alt="' . $language['language_code'] . '" width="18" /> <span class="wpml-ls-native" lang="' . $language['language_code'] . '"> ' . $language['native_name'] . '</span></a></li>';
}
else {
$active_language = '<li class="menu-item wpml-ls-item wpml-ls-current-language wpml-ls-menu-item wpml-ls-first-item menu-item-type-wpml_ls_menu_item menu-item-object-wpml_ls_menu_item menu-item-has-children"><a title="' . $language['native_name'] . '" href="' . $language['url'] . '" class="elementor-item has-submenu"><img class="wpml-ls-flag" src="' . $language['country_flag_url'] . '" alt=""> <span class="wpml-ls-native" lang="' . $language['language_code'] . '"> ' . $language['native_name'] . '</span></a>';
}
}
/* Start - Custom Link */
// Please update flag, name and link
$custom_flag_url = "siteurl/wp-content/plugins/sitepress-multilingual-cms/res/flags/en.png";
$custom_language_name = "Custom Language";
$custom_language_link = "https://google.com";
$dropdown_items .='<li class="menu-item wpml-ls-item wpml-ls-menu-item"><a class="elementor-sub-item" href="' . $custom_language_link . '"><img src="' . $custom_flag_url . '" height="12" alt="" width="18" /> <span class="wpml-ls-native"> ' . $custom_language_name . '</span></a></li>';
/* End - Custom Link */
$final_switcher = $active_language. '<ul class="sub-menu elementor-nav-menu--dropdown sm-nowrap">'.$dropdown_items.'</ul></li>';
}
return $items.$final_switcher;
}
|
|
2 | 3 |
قبل 4 سنوات
kasperA |
|
|
Spinning save icon – never saving
1
2
بدأه: kasperA في: English Support |
|
2 | 16 | قبل 4 سنوات، 5 أشهر | |
|
Can’t add to translation basket
بدأه: kasperA في: English Support |
|
2 | 3 | قبل 4 سنوات، 8 أشهر | |
|
Icon keeps spinning in Translation Management
بدأه: kasperA في: Chat Support |
|
1 | 2 |
قبل 4 سنوات، 9 أشهر
|