Dieser Benutzer hat keine Lieblingsthemen.
Foren-Themen-Favoriten
Erstellte Forenthemen
Status | Thema | Supporter | Teilnehmer | Beiträge | Letzte Aktualisierung |
---|---|---|---|---|---|
Frontend not showing translated (custom) user meta 1 2 Gestartet von: Diana in: English Support Problem: Solution: For anyone, who landed here with the exact same problem. Here the steps for adding Types custom-user-fields to WPMLS string-translation: 1) Put this filter into functions.php and add ALL user-fields, which should be translated: add_filter( 'wpml_translatable_user_meta_fields', 'add_usermeta', 99); function add_usermeta( $fields ) { $fields = array('description','wpcf-my-custom-field'); return $fields; } 2) Add the shortcode for displaying the user-fields in functions.php add_shortcode( 'user-meta', 'user_meta_func'); function user_meta_func($atts) { $key = $atts['key']; $id = $atts['id']; return get_the_author_meta($key, $id); } 3) Add the shortcode in Toolset (Settings > Frontend > Shortcode-Arguments) [user-meta id="[wpv-user field='ID']" key="description"] [user-meta id="[wpv-user field='ID']" key="wpcf-my-custom-field"] Relevant Documentation: | | 2 | 24 | vor 2 Jahre, 7 Monate | |
After WPML-updates some of my translated strings aren't showing anymore Gestartet von: Diana in: English Support | | 2 | 6 | vor 2 Jahre, 7 Monate | |
String-translation of CRED-form not saved properly Gestartet von: Diana in: English Support Problem: Solution: - Click on the WPML > String Translation Following this step by step, the string will be added again and after translated the problem will no longer persist. | | 2 | 7 | vor 2 Jahre, 8 Monate | |
Hook for synchronizing post status Gestartet von: Diana in: English Support | | 3 | 7 | vor 2 Jahre, 11 Monate | |
Synchronizing repeating fields of Toolsets custom post type Gestartet von: Diana in: English Support | | 3 | 5 | vor 2 Jahre, 11 Monate | |
Synchronizing checkboxes of custom post types doesn’t work Gestartet von: Diana in: English Support Problem: Solution: | | 3 | 4 | vor 2 Jahre, 11 Monate | |
Marking all related translations as draft Gestartet von: Diana in: English Support | | 3 | 5 | vor 3 Jahre | |
How to translate Toolsets CRED-Post-Forms? Gestartet von: Diana in: English Support | | 2 | 7 | vor 3 Jahre |