Answer the question
In order to leave comments, you need to log in
How to disable extra fields and options when creating a post?
Hello! There is a diary service (wordpress + budipress), all users have a certain role, they can create a record, but this is all displayed to them: c2n.me/3nW9T6T how can I hide or cut out everything I want (which should not be available to a simple user) ? Maybe a plugin or a hack....
Answer the question
In order to leave comments, you need to log in
You can add custom css to your admin by typing something like this in your functions.php:
function my_admin_theme_style() {
if(1 !== get_current_user_id()){ //Если пользователь - не главный админ
wp_enqueue_style('custom-admin-hide', get_template_directory_uri() . '/css/hide.css'); //ваш ccss
}
}
add_action('admin_enqueue_scripts', 'my_admin_theme_style');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question