Checking wordpress login status from outside the blog
-
Hi all,
I’ve googled this topic many times and still haven’t come up with a satisfactory answer. I’m currently working on a site that has both a blog and a forum that run off of wordpress. The site also has a bunch of functionality that I handcoded outside of wordpress. I’m currently looking to add a login bar at the top of the screen so that no matter what page a person is on (blog, forum, or main) the person can always log in and out of the site. I already figured out the forum and blog parts because they are common sense. I’ve tried importing the wp-blog-header() and calling wp-head(). This allows me to log someone in. The problem is that once they are logged in, I need a way to check to make sure they are logged in (so I can display logout links, allow access to content, etc…). I’ve written a function that does this in wordpress’ pluggable.php but I can’t seem to get it to work.
- The topic ‘Checking wordpress login status from outside the blog’ is closed to new replies.