Cet utilisateur n'a aucun sujet favori.
Sujets de forum favoris
Sujets de forum créés
Statut |
Sujet
|
Supporteur | Voix | Messages | Fraîcheur |
---|---|---|---|---|---|
Auto sign-in and sign-out across domains causes redirect
Commencé par : xiaoweiX dans : Chat Support |
|
1 | 2 |
Il y a 1 année et 6 mois
|
|
Language urls showing up in main site map
1
2
Commencé par : xiaoweiX
dans : English Support
Problem: /* * WPML Workaround for compsupp-6571 */ add_filter('rank_math/sitemap/entry', 'wpml_compsupp6571_remove_sitemap_entry_from_different_domain', 10, 3); function wpml_compsupp6571_remove_sitemap_entry_from_different_domain ( $url, $type, $object ) { if (! class_exists('SitePress') || apply_filters( 'wpml_setting', false, 'language_negotiation_type' ) != 2 ) { return $url; } $current_language = apply_filters( 'wpml_current_language', NULL ); if ($type == 'post') { $post_language_details = apply_filters( 'wpml_post_language_details', NULL, $object->ID ) ; if ( isset($post_language_details['language_code']) && $post_language_details['language_code'] != $current_language) { return false; } } elseif ($type == 'term') { $args = array('element_id' => $object->term_taxonomy_id, 'element_type' => $object->taxonomy ); $term_language_details = apply_filters( 'wpml_element_language_details', NULL, $args ) ; if (isset($term_language_details->language_code) && $term_language_details->language_code != $current_language) { return false; } } return $url; } After implementing this code, the sitemap should correctly exclude entries from languages other than the current one. We confirmed that the solution works by checking the sitemap at https://staging.newtimeshair.com/product_cat-sitemap1.xml. |
|
3 | 23 | Il y a 1 année et 6 mois | |
product featured image
Commencé par : xiaoweiX dans : English Support |
|
2 | 2 | Il y a 1 année et 10 mois | |
cURL error 28: Operation timed out after 45001 milliseconds
Commencé par : xiaoweiX dans : Chat Support |
|
1 | 2 |
Il y a 1 année et 11 mois
|
|
get taxonomy translation with API
Commencé par : xiaoweiX dans : English Support |
2 | 3 | Il y a 1 année et 11 mois | ||
Trying to translate the shipping method title provided by this plugin
Commencé par : xiaoweiX dans : Chat Support |
|
1 | 2 |
Il y a 1 année et 11 mois
|
|
programatically loading a translated taxonomy
Commencé par : xiaoweiX dans : English Support |
|
2 | 2 | Il y a 1 année et 11 mois | |
where does WPML store translated taxonomy data – such as product attribute terms?
Commencé par : xiaoweiX dans : Chat Support |
|
1 | 2 |
Il y a 1 année et 11 mois
|
|
when I delete a product attribute value in original language, will its translated counterparts be deleted too?
Commencé par : xiaoweiX dans : Chat Support |
|
1 | 2 |
Il y a 1 année et 11 mois
|
|
wpml slow queries
Commencé par : xiaoweiX dans : English Support |
|
2 | 2 | Il y a 1 année et 11 mois | |
Currency switcher using Javascript
Commencé par : xiaoweiX dans : Chat Support |
|
1 | 2 |
Il y a 1 année et 11 mois
|
|
Using Javascript to change the currency in WCML
Commencé par : xiaoweiX dans : Chat Support |
|
1 | 2 |
Il y a 1 année et 11 mois
|
|
Problem with editing the page using Elementor editor in secondary languages
Commencé par : xiaoweiX dans : Chat Support |
|
1 | 2 |
Il y a 1 année et 12 mois
|
|
large amount of wpml related records in wp_postmeta table
Commencé par : xiaoweiX dans : English Support |
|
2 | 7 | Il y a 1 année et 12 mois | |
database deadlock
Commencé par : xiaoweiX dans : English Support |
|
2 | 4 | Il y a 2 années |