1.8.2
- Feature: Panel Width setting
- Feature: New filters for Accordion and Shift toggles to customize icon HTML
- Fix: Admin Javascript deprecated jQuery function
- Fix: Icon selection for additional panels in Customizer
- Fix: Updater PHP deprecation warning
- Security Fix: XSS shortcode vulnerability - required Contributor+ user access
- IMPORTANT: If you update and your toggle bar disappears, please switch the TOGGLE BAR INJECTION setting to FOOTER - see https://sevenspark.com/docs/shiftnav-updates/v1-8-update-notes
- Feature: Ability to replace search in dropdown with custom code or shortcodes
- Feature: Option to place Toggle bar in header rather than footer, defaults to header. Adjusted tabindexes accordingly.
- Enhancement: Add Button option for back tag (now default)
- Enhancement: Panel width uses clamp function
- Enhancement: Added --shiftnav-panel-width variable to easily set panel width
- Enhancement: Support for dvh units for panel height
- Compatibility: Deprecated property in EDD SL updater
- Search accessibility: Screen reader label and switch toggle to button, aria for toggles and search
- Accessibility: Add role=button to submenu toggles
- Fix: Admin bar location at certain breakpoints
- Enhancement: Consistent scrollTo on page reload
- Enhancement: Close ScrollTo links immediately when setting is enabled
- Security Update
- Feature: Custom Anchor Class setting for menu items
- Feature: Scroll Tolerance setting
- Enhancement: Improve Control Panel tab overflow handling
- Enhancement: Add font-display:block on Font Awesome to make Lighthouse happy
- Enhancement: Force toggle to absolute when printing to avoid printing on every page
- Update: PHP 8 compatibility
- Update: jQuery 3 compatibility in admin panel
- Fix: Admin menu item Shift button hovering
- Fix: Panel close button layering when scrolling menu items
- Fix: Panel double scroll bar corner case
- Fix: Undefined variable notice
- Feature: Hide Toggle Bar when scrolling down
- Feature: Major keyboard accessibility features upgrade
- Feature: Added shiftnav-open and shiftnav-close Javascript events to panel
- Feature: Option to close panel immediately on link click
- Accessibility Enhancement: Close panel when focus leaves
- Accessibility Enhancement: Screenreader close button inside panel
- Accessibility Enhancement: Close panel on escape
- Accessibility Enhancement: Aria Label setting for toggle
- Enhancement: Improve ScrollTo offset accuracy
- Enhancement: Handle current item ancestors when using UberMenu menu segments
- Enhancement: Handle SVG image display in control panel
- Enhancement: Improve gap logic
- Enhancement: Properly handle SVG image sizing when selected for panel Top Image
- Compatibility: Removed deprecated create_function() call; minimum PHP version 5.3
- Fix: Panel Title Font Weight setting
- Fix: Properly parse Android 10 to fix animation disabling
- Fix: Class duplication issue
- Feature: Disable Submenu setting
- Feature: Added \'shiftnav_op\' filter
- Enhancement: Add auto-gap even if no breakpoint is set
- Enhancement: Display connection errors if trouble communicating with update server
- Update: Add $depth parameter to nav_menu_link_attributes filter
- Update: Add $depth parameter to nav_menu_css_class filter
- Maintenance release to make sure ShiftNav Font Awesome 4 icons are still shown when Font Awesome 5 assets are loaded on the site as well.
- Tweak Customizer settings display
- Feature: Added shiftnav_main_toggle_icon_class filter
- Feature: Added shiftnav_main_toggle_content filter
- Enhancement: Better defenses against meddling themes
- Enhancement: Show re-activate license message when license status is inactive
- Enhancement: Set font size explicitly in stylesheets to eliminate shrinking font size inheritance
- Fix: Typo
- Fix: For new toggle padding CSS insertion compatibility enhancement, make sure it can work even if an optimizer externalizes the ShiftNav head style tag
- Fix: Warning in updater when license previously registered
- Feature: Setting to choose the open and close icons for accordion menus
- Enhancement: Add body padding-top via a CSS style tag rather than directly applying styling to the body node, to improve compatibility with other themes/plugins controlling the body tag
- Feature: Configure whether to automatically generate each secondary instance or not
- Feature: Improved license updater to allow for re-checking and re-registration when necessary, and show expiration date
- Enhancement: Touch-off close setting now applies to search dropdown as well as menu panel
- Security hardening: Rewrite hash handling to remove potential DOM-based (client-side) XSS (thanks, Martin Hall!)
- Feature: Added Item Padding setting
- Enhancement: Reorganize code to better handle deferred and async javascript
- Enhancement: Add disable_content attribute to shiftnav_toggle shortcode
- Enhancement: Don\'t throw error when there\'s an invalid hash string
- UX Enhancement: Main toggle now closes open secondary menu
- jQuery 3 Compatibility Enhancement: Change .size() calls to .length
- Fix: Remove extraneous closing tag when using UberMenu Menu Segments in ShiftNav
- Fix: Properly handle UberMenu menu segments when name has been changed and using multiple segments
- Update: Update Font Awesome icon library to v 4.7, add new icons to options
- Feature: Hamburger only toggle
- Feature: Transparent/overlapping toggle background
- Feature: RTL support
- Feature: Handle UberMenu Menu Segments (optionally)
- Feature: Disable Text on individual menu items (can use Icon only items now)
- Feature: Search shortcode post_type now configurable
- Feature: Custom Icon Class setting for using custom icon sets
- Feature: Login/logout shortcodes
- Enhancement: Add Display Panel Close Button setting to secondary instances
- Enhancement: Configurable Back Button text
- Enhancement: Allow Back Button to appear at top of Shift submenus optionally
- Enhancement: Styled user profile for use in Toggle Bar
- Enhancement: jQuery 3 compatibility
- Enhancement: Make sure WP Admin Bar is layered on top when hovered
- Enhancement: Update Font Awesome to latest version
- Enhancement: Translations can be set in wp-content/languages folder
- Enhancement: Enable or Disable Gap override
- Enhancement: Stronger CSS resets to try to avoid styles from badly coded themes
- Various minor enhancements: admin bar line height, remove divs inside spans, remove ShiftNav waiting to load message (use window.load fallback), better arrangement/order of settings
- Tweak: Include Skin selector in Customizer for secondary instances
- Tweak: Hide ShiftNav panel when closed so that it doesn\'t display at all when resizing browser
- Fix: Type in Customizer Style Generator CSS selector when setting active color
- Feature: Control many setting via Customizer to take advantage of live preview
- Feature: Adjust styles (colors, font sizes, etc) via Customizer
- Feature: Added optional Close button inside menu panel
- Feature: Independent hamburger button size setting
- Feature: Reset settings for each tab
- Feature: Added option to switch back button tag to span rather than anchor (to avoid interference from themes like Avada)
- Enhancement: Base submenu determination on child array rather than class to avoid being broken by themes that strip out core WordPress menu classes
- Enhancement: Allow non-px to be used for the Toggle Breakpoint, if desired
- Enhancement: Updated Font Awesome to v4.5 (added new icons)
- Enhancement: Added additional notices in setting descriptions for clarity.
- Enhancement: Make loading more robust by falling back to window.load in case another script throws an error on document.ready
- Enhancement: Allow shortcakes in Image Link settings
- Enhancement: Handle child items of disabled items
- Enhancement: Avoid gap when opening menu panel
- Enhancement: Better calculation of activator dimensions and sanity check for two-line items
- Enhancement: Improved scrolling on Android with latest version of Chrome
- Enhancement: Clear license data when deleted
- Fix: ScrollTo JS quotes (corner case)
- Fix: Blank Custom URL field removes links on saved menu items
- Feature: Fixed Toggle Buttons
- Feature: Default Toggle Styles
- Feature: Automatic plugin updates
- Feature: ShiftNav Wrapper setting to define pre-existing shift wrapper
- Feature: Icon toggled class
- Feature: Custom URL setting for menu items
- Feature: Ignore UberMenu Advanced items in ShiftNav, but still display child items
- Feature: shiftnav_main_toggle_target filter
- Feature: Display ShiftNav only on mobile devices
- Feature: Allow shortcodes in Navigation Labels
- Feature: Ability to diable transforms
- Feature: Automatically auto play videos after shiftnav-wrap is added
- Feature: Fire shiftnav-loaded event
- Feature: Scroll To Offset setting
- Feature: Setting to make toggle entire bar vs just button
- Feature: Added global Submenu Default setting
- Feature: Touch-off close as configurable setting
- Enhancement: Layer ShiftNav over admin bar
- Enhancement: Multiple breakpoint pixel widths rather than percentages
- Enhancement: Position before and after toggle content statically
- Enhancement: Better UberMenu Conditionals compatibility
- Enhancement: Load ShiftNav after UberMenu
- Enhancement: When the main toggle bar is disabled, don\'t push down the WP Admin bar
- Enhancement: Make search.php path absolute to load properly even if other plugins/themes break relativity
- Enhancement: Padding tweaks
- Enhancement: Whitelist Android browsers rather than blacklist
- Enhancement: Avoid unintended opening with erroneous touchEnd events
- Enhancement: Open Submenus when item is current ancestor
- Enhancement: Make sure centered toggled bar content doesn\'t overlap toggle icon
- Enhancement: Prevent swipe-open above breakpoint
- Fix: Close all child submenus to keep state properly (allow shift inside accordion)
- Fix: Don\'t re-run actions inside actions for toggles
- Fix: Toggle settings like content alignment
- Feature: Link panel image to URL
- Feature: Disable item setting
- Feature: Update FontAwesome Icons to v4.2
- Feature: Hide UberMenu checkbox
- Feature: UberMenu 3 Conditionals support
- Feature: Setting to kill filters from bad themes
- Feature: Setting to disable scrolling Shift submenus to top on open
- Feature: Set main toggle absolute or fixed
- Enhancement: Hide menu on IE7-8
- Enhancement: Improve ShiftNav toggle compatibility with admin bar
- Enhancement: Remove line height from shiftnav-wrap class
- Enhancement: Remove scrollbar when content is short
- Added top level current ancestor item highlighting
- Fixed mismatched H tags in panel header
- Fixed search shortcodes to return rather than print
- Make style block IDs unique
- Scroll to top & back to original position when using shift submenus
- Fixed accordion nesting issues within shift submenus
- Improved shift submenu function at varying shift submenu heights
- Improved main toggle before/after actions
- Apply search bar toggle only to main toggle bar
- Improve CSS reset for ULs & LIs to minimize residual styling from themes
- Added search from main toggle bar functionality
- Added Swipe to close functionality (experimental)
- Added Swipe to open functionality (experimental)
- Added scroll bounding JS to avoid swiping past bounds/stop background scrolling
- Added ability to expand submenu when disabled link is clicked
- Better browser detection & fallback support for browsers that don’t support CSS3 transforms
- Cleaned up JS file
- Fixed :active states on all skins
- Added Berry, Blue, Purple, Red, Sea, Tomato, and Yellow Dark skins
- Improved Shift submenus to work with very long menus
- Initial release