03/20/2017 at 2:27 pm
#416272
Keymaster
@ Vijay
re: How do I check if the user is logged in?
It is a core WordPress function is_user_logged_in()
re: Is there a code snippet or tag I can look at in card.php?
Change if ( $atts['show_org'] || $atts['show_dept'] ) { to if ( is_user_logged_in() ) {
Now only logged in users will see the org/department field.
Good luck.
