Unverified
Hide Admin Bar with jQuey
Hides and displays the Admin Bar when scrolling
Javascript
Voted: 0 by 0 user(s)
Change the value of this variable to modify the distance in pixels from the top at which the Admin Bar will be hidden, it will be shown again when you scroll up and reach that position.
Scroll down to see more snippets from this codevault.
The author has indicated that this snippet is compatable up to wordpress version: 6.1
Free & Pro
Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.
Pro Only (Coming Soon)
You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.
Last modified:
06/12/2022
This snippet has the following status:
Unverified
This snippet has not been verified, use with caution and at your own risk. See details provided by author in sidebar and click below to find out more.
0
Please see some snippets below related to this snippet..
WordPress Admin
AI Verified
Added: 9 months ago
Last Updated: 9 months ago
ADMIN ONLY • This code snippet enhances the Gutenberg Block Editor in WordPress by adding a keyboard shortcut. By pressing Alt+Shift+Minus, users can toggle the Block Outline List View, which provides...
WordPress Admin
AI Verified
Added: 10 months ago
Last Updated: 10 months ago
This snippet adds custom icons to your custom post type counters in the At a Glance widgets on your WordPress Dashboard. I have a snippet in my Codevault on how to add CPTs to this widget too.
WordPress Admin
Pro Verified
Added: 1 year ago
Last Updated: 1 year ago
Maybe you want to hide the Plugin item or more from the Wordpress Dashboard Sidebar.
These are some popular snippets from this users codevault..
WordPress Admin
Unverified
Added: 1 year ago
Last Updated: 1 year ago
Hides and displays the Admin Bar when scrolling
Category
Snippet Status