هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

Toggleable Admin Bar

الوصف

I created this plugin to help when creating sites that have fixed headers, if you fix the header to the top of the screen you then have to go in and add additional styles for logged in users that have the admin bar, after doing this on quite a lot of sites I thought a better way to manage this might be to allow the admin bar to be toggled in and out of view on the front end, whilst still keeping everything fixed to the top of the browser!

The plugin simply adds a button to the far right of the admin bar, shifting the whole bar up past the top of the screen (out of view) except for the button, on click of the button the admin bar slides into view.

التنصيب

  1. Upload toggleable-admin-bar.php to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress. That’s it!

الأسئلة المتكررّة

What does this plugin do to my admin bar?

It simply shifts the admin bar up above the screen, thus taking it out of the viewport. It adds a toggle button with an arrow indicator to the right hand side of your admin bar (placed to the bottom so that it’s always visible), when this button is clicked, the admin bar shifts back into view, and can be toggled back out of view again!

What happens if the user doesn’t have JavaScript enabled?

As long as your theme has the “no-js” class on the “html” tag by default (most themes do), nothing! The plugin falls back to old admin bar in this case.

المراجعات

11 ديسمبر، 2021
This plugin is super handy for seeing my designs without the admin bar. I would love if it also had a one-click "edit with Elementor" button alongside the edit page icon - but great plugin regardless!
إقرأ جميع المراجعات 1

المساهمون والمطوّرون

“Toggleable Admin Bar” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

ترجمة ”Toggleable Admin Bar“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

1.0

  • Initial plugin creation.

1.1

  • Added a quick link to the dashboard, and a quick link to edit the current page/post being viewed.

1.2

  • Fixed responsive styles + no-js styles.

1.3

  • Moved JS to footer to eliminate render blocking.