Dieser Benutzer hat keine Lieblingsthemen.
Bevorzugte Forumsthemen
Forumsthemen erstellt
Status |
Thema
|
Unterstützer | Stimmen | Beiträge | Frische |
---|---|---|---|---|---|
How to define WordPress Editor as default
Angefangen von: tillB-3
in: English Support
Problem: Solution: IMPORTANT: Please note that this is not an officially supported solution, but a proposed workaround to only suite this special need! /** * Disable translation editor choice on post edit screens */ add_action( 'wpml_before_post_edit_translations_table', function() { if ( ! current_user_can( 'manage_options' ) ) { global $wp_filter; $hook_name = 'wpml_before_post_edit_translations_table'; $priority = 10; // Make sure this hook is defined and is a WP_Hook object if ( isset( $wp_filter[ $hook_name ] ) && is_a( $wp_filter[ $hook_name ], 'WP_Hook' ) ) { $hook = $wp_filter[ $hook_name ]; // If there are callbacks at this priority, remove them all if ( isset( $hook->callbacks[ $priority ] ) ) { unset( $hook->callbacks[ $priority ] ); } } } }, 1 ); add_action( 'wpml_before_post_edit_translations_summary', function() { if ( ! current_user_can( 'manage_options' ) ) { global $wp_filter; $hook_name = 'wpml_before_post_edit_translations_summary'; $priority = 10; // Make sure this hook is defined and is a WP_Hook object if ( isset( $wp_filter[ $hook_name ] ) && is_a( $wp_filter[ $hook_name ], 'WP_Hook' ) ) { $hook = $wp_filter[ $hook_name ]; // If there are callbacks at this priority, remove them all if ( isset( $hook->callbacks[ $priority ] ) ) { unset( $hook->callbacks[ $priority ] ); } } } }, 1 ); Please note, this code will remove the choice of editors from the post/page edit screen, specifically from the language section. Ensure you select your preferred editor before applying this code. Administrators will still have the choice available unless you modify the code to include them. If this solution does not apply to your situation, or if it becomes outdated, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket. |
|
0 | 4 | Vor 3 Wochen, 5 Tage | |
some fields stuck to "readonly" although the setting is "translate"
Angefangen von: tillB-3 in: English Support |
|
2 | 14 | Vor 1 Jahr, 8 Monaten | |
otgs-icons are not loading
Angefangen von: tillB-3 in: English Support |
|
2 | 5 | Vor 2 Jahren, 4 Monaten | |
String Translation problem with WP 6.1
Angefangen von: tillB-3 in: English Support |
|
2 | 3 |
Vor 2 Jahren, 5 Monaten
tillB-3 |
|
cross-domain login
Angefangen von: tillB-3 in: English Support |
|
3 | 5 | Vor 2 Jahren, 7 Monaten | |
search for translated strings in string translation
Angefangen von: tillB-3 in: Chat Support |
|
1 | 2 |
Vor 4 Jahren, 3 Monaten
|
|
Can not connect / synch taxonomy terms
Angefangen von: tillB-3 in: English Support |
2 | 3 | Vor 4 Jahren, 5 Monaten |