Conditionals Based on WordPress Login Cookie
-
I want to be able to draw different versions of the page based on whether a user is logged in or not. I don’t want to access the db in order to do so (I want to be able to fully cache the page).
Typically this kind of thing is done with cookies and javascript.
In my case I’m trying to figure out how to write some conditional javascript based on the wordpress logged in cookie that is already set. Didn’t see how to do this in the Codex. Any help would be appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Conditionals Based on WordPress Login Cookie’ is closed to new replies.