During my site your blog section produced in word press, I wish to hide the META widget to guest customers, but it ought to be displayed in admin . I discovered the code in sidebar.php( wordpress-content/styles/sidebar.php) page, but i'm not sure how you can display this widget just for admin?

Please anyone assist me to!!!!

You are able to determine whether the present user is definitely an administrator by checking should they have use of among the admin-only rights:

if ( current_user_can('manage_options') ) {
    //code to display your widget