I would like to remove everything except the âformâ in wp-admin/post.php
I would like to do this for user role “author” only.
The reason for all this: I want the wp-admin/post.php to be a page where the author only can edit the content, clean from everything else (the will be linked to the page from the mainpage…)
Today I have slowed this using CSS. But that loads all unnecessary HTML, js and CSS files.
Now I wonder if thereâs a way to do this using PHP?
Thanks in advance!
edit:
Se this link: http://i.stack.imgur.com/ziCg9.jpg (new users aren’t allowed to post images…)
I want the admin panel to only show this when authors press the “edit-post-link”.
if ($current_user->user_level < 8){code here...}
I Think there is no hooks that I can find to remove those areas without touching the core files..
You can remove parts of the admin areas using this functions and with some css help.
To hide Menus
To Brand your Header
And create a custom_admin.css file with this line
To modify Header Menu
To Replace the footer