This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
I want to remove credit from this site.
Started by: omerP in: English Support |
2 | 3 |
2 years, 5 months ago
omerP |
||
programmatically create a post only in a secondary language
Started by: omerP in: English Support |
2 | 4 | 2 years, 7 months ago | ||
Regarding get_terms function in multiple language
Started by: omerP
in: 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 | 2 years, 9 months ago | ||
How can I show language code in language switcher ?
Started by: omerP in: English Support |
2 | 6 | 2 years, 10 months ago |