该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Advanced Sticky Header

描述

Simple, easy yet very useful and configurable sticky header / fixed header plugin.

Just specify class name in options page and it gets sticky!.

Available Options:

  • Header Class: Enter class name of your header or nav element that you want to make sticky.
  • Animate: This brings header into display with animation type that you select below, default is ‘Fade In’.
  • Animation Type: Transition style for header when it becomes sticky
  • Shadow: Header will have shadow when it becomes sticky
  • Sticky Already: Makes header sticky when page loads

Please Note

Make sure your header’s z-index’s value is high enough to not get overlapped by other elements on the page.
**Example: **
.header-class { z-index: 9999; }

If you have suggestions for a new add-on, feel free to email me at danishiqbalscorpio@gmail.com

屏幕截图

  • Options page

  • Finding element’s Class Name. Right click on header that you want to make sticky, Click ‘Inspect’ or ‘Inspect Element’.

  • When element is completely highlighted, that is the element you want to make sticky… Copy it’s class and paste it in the options page.

安装

  1. Upload ‘advanced-sticky-header.zip’ to the ‘/wp-content/plugins/’ directory,
  2. 通过 WordPress 的“插件”菜单以激活本插件。
  3. Goto Advanced Sticky Header menu in WordPress, enter your header’s class in ‘Header Class:’ option.

评价

2016 年 10 月 27 日
Hi, Thank you for this plugin. It has been a good help to me for my project. It worked fine exactly what I was looking for. Thank you
阅读所有2条评价

贡献者及开发者

“Advanced Sticky Header” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Advanced Sticky Header”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0