WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Current User info hiding a row

[Resolved] Current User info hiding a row

Viewing 2 replies - 1 through 2 (of 2 total)
  • <?php global $current_user; get_currentuserinfo(); if( !empty($current_user->dep1_middlename) ){ echo ‘Middle Name:’ . $current_user->dep1_middlename . “\n”; } ?>

    Something like this may solve your issue. Also, I don’t think you need to write “global $current_user; get_currentuserinfo();” for so many times. Just write it once at the start the your codes.

    Thank you very much! It worked like a charm. You are awesome!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Current User info hiding a row’ is closed to new replies.