Tag Info

New answers tagged


Have you updated to the latest version of the WCK - Custom Fields and Custom Post Types Creator plugin? The issue is with the WCK - Custom Fields and Custom Post Types Creator plugin and you should probably seek direct assistance from them. https://wordpress.org/plugins/wck-custom-fields-and-custom-post-types-creator/ When I checked the plugins code ...


No need to reinvent the wheel - put your editor support back and tweak the settings: function wpse_199918_wp_editor_settings( $settings, $editor_id ) { if ( $editor_id === 'content' && get_current_screen()->post_type === 'custom_post_type' ) { $settings['tinymce'] = false; $settings['quicktags'] = false; ...


You can disable concatenation by defining CONCATENATE_SCRIPTS constant to false. In wp-config.php would be fitting: define('CONCATENATE_SCRIPTS', false); W3TC shouldn't affect anything on admin side.


I am still experiencing with this, but here is how I got rid of the unwanted text area: if ( !is_admin() ) { //you might decide to change this conditional statement. //I found the filter in /wp-includes/class-wp-editor.php @249 add_filter('the_editor', 'my_remove_editor_te'); function my_remove_editor_te(){ $editor = ''; return ...


You add the shortcode (and all shortcodes) in visual mode, not in text mode.


This works for me: tinyMCE.execCommand("mceAddEditor", false, id); tinyMCE.execCommand('mceAddControl', false, id);

Top 50 recent answers are included