למשתמש זה אין נושאים מועדפים.
נושאי פורום מועדפים
נושאי פורום שנוצרו
סטטוס |
נושא
|
תומך | קולות | פוסטים | טריות |
---|---|---|---|---|---|
Taxonomy Translation in Backend
נפתח על ידי: josephG-17
ב: English Support
Problem: add_filter('get_terms', function($terms, $taxonomies, $args, $term_query) {<br /> if (is_admin() && in_array('person_type', $taxonomies)) {<br /> foreach ($terms as $term) {<br /> $term->name = get_english_version($term->term_id);<br /> }<br /> }<br /> return $terms;<br />}, 10, 4); This code checks if you are in the admin area and modifies the term names to their English versions for specific taxonomies. Note that you might need to define the function get_english_version to fetch the English names based on term IDs. For further customization, you may consider hiring a developer from our contractors' page. If this solution does not apply to your case, or if it seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the issue persists, we highly recommend opening a new support ticket for personalized assistance. |
|
0 | 2 | לפני 2 חודשים, שבוע 1 |