Restrict user to terms in a custom taxonomy registered for both posts and users
Restrict user to terms in a custom taxonomy registered for both posts and users
Restrict user to terms in a custom taxonomy registered for both posts and users
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
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
Taxonomy checkboxes not showing current status on edit page
One option: switch to the Block Editor instead of the Classic Editor. The Block Editor comes with any version of WordPress 5.0 or higher, so update your install, and then if you have the Classic Editor plugin enabled, disable it. If you have more than one post type, you may want to look into the … Read more
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
Images are not shown in the post editor
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?
Block editor: content resets to the previous state in “Edit as HTML” by clicking somewhere outside of the editing window
Wrap post images with a link, not figure (image_send_to_editor doesn’t work)