I have wp installed in a directory on my site:
example.com/blog/
And in order to comment, users have to subscribe by creating an account and logging into the blog first.
But my site is more than just a blog, it has other things to:
example.com/
example.com/folders/
example.com/friends/
example.com/photos/
...
What I would like to start doing is on some pages in my site to show different content based on if the person is logged in or not. Again, this isn't a wordpress "page", but just a regular php page.
As a simplified example, something like:
is_logged_in_user(){echo "Hello".$wp_username;}
else(){echo "Register an account with us today.";}
Is this possible, any ideas where to start? Is there some kind of api interface that would help me out?