• Resolved bluemuse

    (@bluemuse)


    There seems to be an issue with the admin bar functionality with your plugin. If we don’t checkoff the “Hide admin bar on public-facing pages” check box then it ads a bar to the site when users aren’t logged in. If we do check the box than admins don’t see the bar when they are logged in. Is it possible to just have the normal admin bar functionality work while running this plugin?

    https://ww.wp.xz.cn/plugins/sunny/

Viewing 1 replies (of 1 total)
  • Plugin Author Tang Rufus

    (@tangrufus)

    If we don’t checkoff the “Hide admin bar on public-facing pages” check box then it ads a bar to the site when users aren’t logged in.

    This is because of the Cache Everything page rules. CloudFlare cached the admin bar and serve it to non-logged in visitors.

    Is it possible to just have the normal admin bar functionality work while running this plugin?

    With Cache Everything page rules, CF return cached copies of your web pages. Visitors never touch your web servers, so there is no way to determine if the visitor logged in or not. This is why Sunny lets you hide the admin bar at all pages.

    If you think of a better solution, feel free to suggest!

    See: https://wphuman.com/make-cloudflare-supercharge-wordpress-sites/#comment-23

Viewing 1 replies (of 1 total)

The topic ‘Admin Bar Functionality’ is closed to new replies.