Not working for me.
-
Hi Marcel,
your plugin is not working for non-standard themes. You seem to rely on the
.logged-in
class on the body tag. This would require theme developers to add that class to thebody
tag.I’d choose a more general approach. Isn’t the sheer presence of the admin bar enough to give your plugin something to work on? Are there any security concerns related to this?
I changed your plug-ins selector/condition in auto-hide-admin-bar.php line 156 to
$('#wpadminbar').length ===1
and now it works perfectly.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Not working for me.’ is closed to new replies.