Viewing 4 replies - 1 through 4 (of 4 total)
  • !is_user_logged_in() — shown when a user is not logged in

    comes from

    http://wordpress.org/extend/plugins/widget-logic/other_notes/

    you could use that without the ! at the beginning

    Thread Starter frostfairs

    (@frostfairs)

    This ‘ll work and the widget ‘ll be visible when the user is logged in.
    But is there any way that , this may be visible on the sidebar of the user’s profile?
    when the logged in user click on his profile link, he/she found the widget there only, on the sidebar reside his profile?

    Not on the user profile you see at …wordpress/wp-admin/profile.php , as that’s in the wp-admin interface which I don’t believe can have a widget-y sidebar.

    But you could do it on their post page …/author/user_name using code from this page

    http://codex.wordpress.org/Function_Reference/get_currentuserinfo

    which suggests that

    global $current_user; get_currentuserinfo(); return is_author($current_user->user_login);

    might work

    Thread Starter frostfairs

    (@frostfairs)

    Am actually talking with the buddypress’ perspective. When you have buddypress i think there is no more need for the user, to access the admin interface panel but within the front end of the site, it is possible to change the settings regarding the profile.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Logic to appear widget at current user's profile page only’ is closed to new replies.