Is user listing on wordpress private?

No, user data is not visible to the outside world, or to google, unless you specifically make it visible in the theme somehow. One piece of user data is exposed for authors of posts though. Specifically, their login names are visible in many places.

Allow user access to Dashboard only!

You can put this in your functions.php : function remove_menu_items() { global $menu; global $user_ID; if( $user_ID ) : /* Dashboard only acccess */ if( current_user_can( ‘dashboardvisitors’ ) ) : $restricted = array( __(‘Posts’), __(‘Pages’), __(‘Links’), [etc…] ); endif; endif; end ( $menu ); while ( prev( $menu ) ) : $value = explode( ‘ … Read more

How to protect post attachments related to a custom post type, from non-logged in users, on 1 subsite of a multisite installation?

Andrew, In the case where your custom post type exists on only one sub-site of your Multi Site installation, you can in your template file in which controls the display and output of your custom post type work with simple conditional functions such as; is_singular(‘post_type_name’); is_user_logged_in(); …and in-fact it might well be as simple as; … Read more

Restrict users post for himself

Try this code: (edited code a little) add_action( ‘template_redirect’, ‘my_page_template_redirect’ ); function my_page_template_redirect() { global $post; if( is_user_logged_in() ) { if( is_single() ){ if( $post->post_author != get_current_user_id() ){ wp_redirect( ‘IN ANY PAGE’ ); } } }else{ wp_redirect( ‘IN ANY PAGE’ ); } }

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)