Forums

Mobile Domain
Detect Logged in users (2 posts)

  1. devbit
    Member
    Posted 7 months ago #

    I am using this plugin, but the mobile theme does not seem to be able to detect if a user is logged in or not using the is_user_logged_in() function - is there any other way to determine if a user is logged into the main site?

    Thanks!

    http://wordpress.org/extend/plugins/mobile-domain/

  2. devbit
    Member
    Posted 7 months ago #

    Figured it out - just added the following to my wp-config.php file:
    define('COOKIE_DOMAIN', '.domainname.com');
    The preceding "." before the domain name will allow the site cookies to work within all subdomains.

Reply

You must log in to post.

About this Plugin

About this Topic