Post/Page editor loads twice

No, this is not a normal behavior. Try to set default editor, and that should fix it. If it does not fix the problem, you may have one of your plugins causing it. Deactivate all plugins, and then reactivate them, one by one, until you find one, which is responsible. Code below goes to functions.php: … Read more

How can I (for the long term) style the classic editor’s TEXTAREA?

I think I am following your question. You can enqueue a stylesheet only for the admin area and then add your styles to that. The following code will enqueue a stylesheet in a “css” folder in the root of your theme. function my_admin_styles(){ wp_enqueue_style( ‘admin_css’, get_stylesheet_directory_uri() . ‘/css/admin-styles.css’, array(), filemtime( get_stylesheet_directory() . ‘/css/admin-styles.css’) ); } … Read more

How to hide the Text Color icon from Visual Editor of WordPress Post Editor from Users other than Admins?

This should work if you add it to your functions.php file. It targets the buttons on the second row in your text editor. To target the first row, use the mce_buttons hook instead of mce_buttons_2. /** * Removes text color button from tiny mce editor */ add_filter( ‘mce_buttons_2’, ‘remove_tiny_mce_buttons’); function remove_tiny_mce_buttons( $buttons ) { if … Read more

link to edit a post has empty target

I just found some kind of workaround. I set the right “edit options” for this user. To be honest I do not know what this right means, but the user is now able to edit all the posts – so the links now have a valid target (href) Strange behaviour. Somebdoy can explain this?