Guest MrLeN Posted April 12, 2018 Share Posted April 12, 2018 My WordPress theme has the ability for people to login with facebook (by clicking a button)..I contacted the people who made my WordPress theme and asked them for some code that tells me if someone is logged in via the Facebook login button or via WordPress.they gave me a link to this code:https://gist.github.com/seventhqueen/70a8131d9643988200dafe3959f6fde8I don't understand it.I need that code to echo:"The user is logged in with facebook"or"The user is not logged in with facebook"I'll give $10 to anyone who can show me to to get the code to echo that. Link to comment
Guest MrLeN Posted April 12, 2018 Share Posted April 12, 2018 Oh the theme developer gave me the code.Add this to the end if ( sq_is_facebook_user() ) { echo 'Is Facebook user'; } else { echo 'Is WordPress user'; } Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.