Cet utilisateur n'a pas de sujets favoris.
Sujets préférés du forum
Sujets de forum créés
Statut |
Sujet
|
Supporter | Les voix | Articles | Fraîcheur |
---|---|---|---|---|---|
I want to remove credit from this site.
Démarré par: omerP en: English Support |
2 | 3 |
Il y a 2 années et 5 mois
omerP |
||
programmatically create a post only in a secondary language
Démarré par: omerP en: English Support |
2 | 4 | Il y a 2 années et 7 mois | ||
Regarding get_terms function in multiple language
Démarré par: omerP
en: English Support
Problem: get_terms function returning an empty array for translated terms in a multilingual setup using WPML, consider following. Solution: get_terms function. Since WordPress 4.5.0, taxonomies should be passed via the 'taxonomy' argument in the $args array. Here's an example of how to use it correctly: $terms = get_terms( array( 'taxonomy' => 'post_tag', 'hide_empty' => false, ) ); Next, consider reviewing the following resources for additional guidance:
Also, take a look at the WPML Hooks Reference for additional hooks and examples that might be helpful, especially the wpml_get_element_translations hook. If these suggestions do not resolve your issue, and you're not comfortable with custom coding, you might want to consider hiring a developer. You can find qualified contractors at https://wpml.org/contractors/. Please note that the solution provided might be outdated or not applicable to your case. If the issue persists, 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 don't hesitate to open a new support ticket with us. |
2 | 2 | Il y a 2 années et 9 mois | ||
Taxonomies aren't showing in secondary languages
Démarré par: omerP en: Chat Support |
1 | 2 |
Il y a 2 années et 9 mois
|
||
How can I show language code in language switcher ?
Démarré par: omerP en: English Support |
2 | 6 | Il y a 2 années et 10 mois |