For Privacy and security reasons i need to hide the widget for no logged users.
I don’t want visitors could see informations like phone or email.
I resolved my problem with the following code (not sure this the right place, but working).
Could be to add an option to include these function in standard.
File : eme_widgets.php
function eme_load_widgets() {
global $current_user;
get_currentuserinfo();
if ($current_user->ID != 0 )
{ register_widget( ‘WP_Widget_eme_list’ );
register_widget( ‘WP_Widget_eme_calendar’ );
}
}