Create Read Only Admin

Is there an easy way… AFAIK, no, not at all. If using a single site installation, you’d need to carefully disable (not hide, disable) all possible user actions that modify things. And this has to be done screen by screen (Posts, Pages, Comments, Appearance, Plugins, etc). For example, in the All Posts screen (/wp-admin/edit.php): /** … Read more

Reapproval for edits and deletion after post is published

Let us solve this by going with your second option. So you want to restrict users from editing published posts, this can be done by adding this to your theme’s functions.php file (please read the comments that is added): function restrict_editing_old_posts( $allcaps, $cap, $args ) { // Restrict users from editing post based on the … Read more

Redirect after closing Theme Customizer when user does not have permission for theme page

You can try this jQuery script injected via the customize_controls_print_footer_scripts hook: /** * Change the url of the Close link in the /wp-admin/customize.php page * See http://wordpress.stackexchange.com/q/116257 */ function change_close_url_wpse_116257() { $url = get_admin_url(); // Edit this to your needs printf( “<script> jQuery(document).ready( function(){ jQuery(‘#customize-header-actions a.back.button’).attr(‘href’, ‘%s’); }); </script>” , esc_js( $url ) ); } … Read more