When a user enters a page I want to check if he is logged in.
How can it be done in the page's template?
Or is it possible only in functions.php or a plugin?
echo 'You are logged in. Yay!';
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
4 years ago