Hi all,
Ok, this is a wild probably, but hopefully someone can shed some light on what my next move should be. I have been tracking a solution for awhile and I think I'm getting closer to knowing what I need, but I'm not sure it's possible to achieve.
In short - I have some code now checking for a body class of "loggedin". I need this code to also check for a body class of "loginerror". I think Thematic is assigning the "loggedin" body class as I see this line in the dynamic-class.php file.
// For when a visitor is logged in while browsing
if ( $current_user->ID )
$c[] = 'loggedin';
Is there a way to add a body class for "loginerror"? I am making an assumption that if I can create that body class, I can filter the body class function to add it, and then add a check for that into the code I referenced in the beginning.
Curious about what I'm trying to do? Read more here:
http://www.wptavern.com/forum/plugins-hacks/1825-advice-jquery-cookie-customization-sliding-panel-plugin.html#post17931
You'll see my path as I was troubleshooting this solution...which led me to Thematic assigning the body classes :)
Any advice would be greatly appreciated...