Sticky banner

الوصف

This plugin makes it easy to display a sticky announcement banner, at the top or bottom of your website. You can customise the colours to suit your site or brand. Preview your banner from the settings page, before you save/update.

لقطات الشاشة

  • This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets directory take precedence. For example, /assets/screenshot-1.png would win over /tags/4.3/screenshot-1.png (or jpg, jpeg, gif).
  • This is the second screen shot

التنصيب

From your WordPress dashboard

  1. Visit ‘Plugins > Add New’
  2. Search for ‘Sticky Banner’
  3. Activate ‘Sticky Banner’ from your Plugins page.
  4. Visit ‘Sticky Banner’ in the sidebarner to create a new banner.

From WordPress.org

  1. Download ‘Sticky Banner’.
  2. Upload the ‘hdsb-stickybanner’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
  3. Activate ‘Sticky Banner’ from your Plugins page.
  4. Visit ‘Sticky Banner’ in the sidebar to add content and change colours.

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

A question that someone might have

An answer to that question.

المراجعات

10 مايو، 2020 1 reply
Works as advertized. Would be great to have a cross to hide the bar, to add CSS to customize the font, the button shape, the text and button colors separately, and the bar height. Pretty cool already !
إقرأ جميع المراجعات 1

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

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

المساهمون

ترجمة ”Sticky banner“ إلى لغتك.

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

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

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

1.3.0

  • Added: Enhanced security throughout
  • Added: Sanitization and escaping
  • Added: More secure form submission
  • Edited: Capability checks
  • Edit: Modular JavaScript approach
  • Edited: Simplified file structure

1.2.0

  • Tested up to WP 6.5.2
  • Made button style more ‘button like’
  • Resolved admin button hover text issue

1.1.0

The plugin has been coded from the ground up to be cleaner and make future updates easier.

  • New setting: Cookie expiry days option added to settings
  • New setting: Hide on pages option added (add page IDs with commas)
  • New: Adds an active class to the body for styling (hdsb-t-active or hdsb-t-active)
  • New: Users can now close banner with X on right hand side (adds cookie for 7 days)
  • Update: Button will not show without a URL added to settings

1.0.0

  • Initial Version.