This plugin adds class to html element. ct-logged-in The user is logged in. ct-not-logged-in The user is anonymous...
If this equals 0, it means that user is anonymous...
Besides that, this plugin checks log-in status..
userName } ) } else { User is not logged in } } ).
If you use react or something, updated the status with setState ...
Upload the directory to wp-content plugins..
Go to WordPress admin screen and activate this plugin...
Recommendation Search on WordPress admin screen and install it...
The following people have contributed to this plugin..
Interested in development.., check out SVN repository, or subscribe to the development log by RSS...
Read more