mystickymenu
Last commit date
mystickymenu.css
12 years ago
mystickymenu.js
11 years ago
mystickymenu.php
12 years ago
readme.txt
11 years ago
readme.txt
98 lines
| 1 | === myStickymenu === |
| 2 | Contributors: damiroquai |
| 3 | Donate link: http://wordpress.transformnews.com |
| 4 | Tags: sticky menu, twentythirteen, twenty-thirteen, plugin, menu, jquery |
| 5 | Requires at least: 3.5.1 |
| 6 | Tested up to: 3.9.1 |
| 7 | Stable tag: 1.6 |
| 8 | License: GPLv2 or later |
| 9 | |
| 10 | This lightweight plugin will made your menu or header sticky on top of page, after desired number of pixels when scrolled. |
| 11 | |
| 12 | == Description == |
| 13 | Plugin is designed for Twenty Thirteen template but should work on any theme. By default, it uses Twenty Thirteen navigation css class ".navbar" under "Sticky Class" setting field and that should be modified for other themes (if different) to make it work. Do not forget this, it is a mandatory field. |
| 14 | |
| 15 | Plugin is responsive as far as your theme is. Also there is possibility to add custom css code which make this plugin very flexible, customizable and user friendly. |
| 16 | |
| 17 | Another advancement of this simple plugin is that increases usability and page views of your WordPress site since menu is available to the user all the time. |
| 18 | |
| 19 | Plugin Home + Demo URL: http://wordpress.transformnews.com/plugins/mystickymenu-simple-sticky-fixed-on-top-menu-implementation-for-twentythirteen-menu-269 |
| 20 | |
| 21 | == Installation == |
| 22 | Install like any other plugin. After install activate. If using template other than Twenty Thirteen go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.. |
| 23 | |
| 24 | |
| 25 | == Frequently Asked Questions == |
| 26 | |
| 27 | = How to find Sticky Class, what should I enter here? = |
| 28 | So this depends on what you want to make sticky and what theme do you use, but for example if you want your menu to be sticky, than you can examine the code (in firefox right click and “View page source”) and find div in which your menu is situated. This div have some class or id, and that’s the Sticky Class we need. If using class than don’t forget to ad dot (.) in front of class name, or hash (#) in front of id name in Sticky Class field. Twenty Thirteen default working class is “.navbar” without of quotes. |
| 29 | |
| 30 | |
| 31 | == Screenshots == |
| 32 | |
| 33 | 1. screenshot-1.png shows administration settings. |
| 34 | 2. screenshot-2.png shows menu when page is scrolled towards the bottom. |
| 35 | |
| 36 | |
| 37 | == Changelog == |
| 38 | |
| 39 | = 1.6 = |
| 40 | * Added: “Make visible when scroled” after number of pixels option. |
| 41 | * Fixed opacity 100 bug. |
| 42 | |
| 43 | = 1.5 = |
| 44 | * Added option to enter exact width in px when sticky menu should be disabled “Disable at Small Screen Sizes”. |
| 45 | * Added “.myfixed css class” setting field – edit .myfixed css style via plugin settings to create custom style. |
| 46 | * Fixed google adsense clash and undefined index notice. |
| 47 | * is_user_logged_in instead of old “Remove CSS Rules for Static Admin Bar while Sticky” option |
| 48 | |
| 49 | = 1.4 = |
| 50 | * Added fade in or slide down effect settings field for sticky class. |
| 51 | * Added new wrapped div around selected sticky class with id mysticky_wrap which should make menu works smoother and extend theme support. |
| 52 | |
| 53 | = 1.3 = |
| 54 | * Added “block direct access” to the mystickymenu plugin file (for security sake). |
| 55 | * Added Enable / Disable at small screen sizes and Remove not necessary css for all themes without admin bar on front page. |
| 56 | * Added “margin-top :0px” to .myfixed class in head which should extend theme support. |
| 57 | |
| 58 | = 1.2 = |
| 59 | * Fixed mystickymenu.js for IE browsers, so myStickymenu is now compatible with IE 10, 11 |
| 60 | |
| 61 | = 1.1 = |
| 62 | * Added administration options, now available through Dashboard / Settings / myStickymenu. Options are as follows: Sticky Class, Sticky z-index, Sticky Width, Sticky Background Color, Sticky Opacity, Sticky Transition Time. |
| 63 | * Old mystickymenu.css file is deprecated and not in use anymore. |
| 64 | |
| 65 | = 1.0 = |
| 66 | * First release of myStickymenu plugin |
| 67 | |
| 68 | == Upgrade Notice == |
| 69 | = 1.6 = |
| 70 | * After plugin update go to mystickymenu plugin settings and save changes with desired value for a new parameters. Clear cache if some cache system used on your site. |
| 71 | * Added: “Make visible when scroled” after number of pixels option. |
| 72 | * Fixed opacity 100 bug. |
| 73 | |
| 74 | = 1.5 = |
| 75 | * Added option to enter exact width in px when sticky menu should be disabled “Disable at Small Screen Sizes”. |
| 76 | * Added “.myfixed css class” setting field – edit .myfixed css style via plugin settings to create custom style. |
| 77 | * Fixed google adsense clash and undefined index notice. |
| 78 | * is_user_logged_in instead of old “Remove CSS Rules for Static Admin Bar while Sticky” option |
| 79 | |
| 80 | = 1.4 = |
| 81 | * Added fade in or slide down effect settings field for sticky class. |
| 82 | * Added new wrapped div around selected sticky class with id mysticky_wrap. |
| 83 | |
| 84 | = 1.3 = |
| 85 | * Added “block direct access” to the mystickymenu plugin file. |
| 86 | * Added Enable / Disable at small screen sizes and Remove not necessary css. |
| 87 | * Added “margin-top :0px” to .myfixed class in head which should extend theme support. |
| 88 | |
| 89 | = 1.2 = |
| 90 | * Fixed mystickymenu.js for IE browsers, so myStickymenu is now compatible with IE 10, 11 |
| 91 | |
| 92 | = 1.1 = |
| 93 | * Added administration options, now available through Dashboard / Settings / myStickymenu. Options are as follows: Sticky Class, Sticky z-index, Sticky Width, Sticky Background Color, Sticky Opacity, Sticky Transition Time. |
| 94 | * Old mystickymenu.css file is deprecated and not in use anymore. |
| 95 | |
| 96 | |
| 97 | |
| 98 |