Shift8 Full Nav is a plugin that allows you to create a full width, sticky and responsive navigation menu. The plugin allows you to define key design options such as menu color, google fonts for menu options, overlay color (for mobile dropdown) and menu/overlay transparency and mobile menu trigger breakpoints.
This plugin will work with up to 3 levels of dropdown (parent, child, sub-child). It will also display a shopping cart icon and cart count if it detects you have Woocommerce installed. Lastly if you want to have a search dropdown, you can enable search and an icon will display with a search bar dropdown from the top navigation.
Want to see the plugin in action?
You can view two example sites where this plugin is live :
- Customizable mobile breakpoint
This means that you can customize when the mobile version of the menu “kicks” in. By default it is set to a screen width of 980px
- Mobile mode for all screen sizes
You can set the plugin to “mobile mode” which means the mobile version of the menu will be always displaying
- Definable font styles everywhere
You can define the fonts from a list of all google fonts, or inherit the fonts defined in your theme. You can also adjust font size and color.
- Upload your logo
Upload your logo and it will display seamlessly
- Change colors and opacity
You can change the color and opacity of the menu bar as well as the mobile flyout
- Dropdown functionality out of the box
If you have parent/child menu items, they will be automatically rendered as dropdown for mobile/desktop view of the menu. You can change color and styling of the dropdown for desktop as well
- Woocommerce compatibility
The shopping cart icon will automatically display if it detects that you have Woocommerce installed and activated. A simple cart icon with a cart count will be displayed
- Search dropdown icon
We now give you the option to display a search dropdown toggle area , right underneath the navigation bar. There are design options that will allow you to configure how this looks such as background color, font size, color, hover colors and whatnot. This is a quick and easy way to integrate search into your navigation.
Remember : Dont forget to set the switch “Enable Full Nav” after installing and activating!
Imagens de tela
This section describes how to install the plugin and get it working.
- Upload the plugin files to the
/wp-content/plugins/shif8-full-navdirectory, or install the plugin through the WordPress plugins screen directly.
- Disable any other 3rd party menu plugins you may have installed
- Activate the plugin through the ‘Plugins’ screen in WordPress
- Navigate to the plugin settings page and define your logo, font and design options. Dont forget to enable the plugin in the settings page!
- The menu should show up by injecting its code into your header
My menu is not showing up?
Can I see what it looks like live?
You can check out our wordpress hosting website to see it in action : https://www.stackstar.com
How can I style the markup?
The idea was to make design options available in the administrative interface of the plugin settings. The design options, when chosen, generate inline style markup that applies the styling. There is a stylesheet that imports other common styling elements. You can overwrite anything in your own theme’s stylesheet.
What if I have second level menu options?
We plan on implementing a built-in dropdown feature for hierarchical menu options (2nd and 3rd level menu options). Currently this functionality is not built in.
How do I get the dropdown options to work?
You simply need to add second level (only) options in the WordPress menu section
What else have you done?
Colaboradores e desenvolvedores
“Shift8 Full Nav” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.Colaboradores
Registro de alterações
- Stable version created
- Implemented design options and inline style generator
- Added google font choices
- Bug fixes
- Fixed bug with inherit font logic
- Adjusted breakpoint for mobile menu from 768px to 980px
- Fixed header logo linking to site url
- Added option to force mobile mode of menu all the time so only the hamburger icon will display
- Fixed z-index conflict with shift8-portfolio plugin
- Fixed main.js loading error
- Added fully customizable dropdown capability for menu options in non-mobile mode
- Added option to define mobile breakpoint for when the menu switches to mobile mode
- Added option to define font sizes for menu bar, overlay and dropdown
- Fixed bug in inherit logic for dropdown font if set to site default
- Set default font size if nothing set in admin options (inherit)
- Set default breakpoint width for mobile if nothing set in admin options (980px)
- Fixed padding for dropdown menu options
- Set default color to inherit if no color is defined to avoid CSS errors
- Implemented dropdown logic for mobile overlay menu (triangle for menu options that have sub nav children)
- Fixed bug in mobile dropdown logic for triangle direction change
- Fixed bug default color for dropdown backgrounds
- Fixed is-fixed class which didnt apply in desktop
- Fixed fatal error with older versions of PHP
- Fixed bug where primary menu was not being pulled properly and no menu displayed
- Adjusted default alignment for desktop menu options to be closer to the right side to allow for more room
- Added check for target for each menu option, allowing the ability to open menu links in new tabs
- Force social icons on mobile version of menu to open in new tab
- Added function to inject woocommerce shopping cart link + icon if woocommerce is installed
- Added logic to inherit any assigned CSS classes to menu items for non-mobile version of the menu
- Added logic to inherit any assigned CSS classes to menu items for mobile version of the menu
- Added unique identifier for UL container for sub menu items
- Improved woocommerce compatability to include auto updating ajax cart count change when items are added to cart
- Fixed bug in auto cart updating feature for woocommerce
- Added very subtle fade-in pure CSS animation for dropdown hover effect if any sub menu items are present.
- Switched from custom nav menu queries to using a walker class with wp_nav_menu function. This allowed for multiple menu hierarchy support (parent -> child -> grandchild). The navigation menu now supports dropdowns for up to 3 layers deep.
- Fixed bug with dropdown system on desktop. Created custom walker for desktop.
- Fixed minor CSS bug with dropdown
- Fixed minor CSS bug
- Fixed CSS typo
- Cleaned up nav li classes (too many extra classes were generated)
- Re-integrated woocommerce cart icon into nav walker wrapper
- Restored ability to assign custom classes from wp admin menu to each menu item
- Resolved PHP Warning walker start_el and start_lvl function declaration adherence
- Resolved conflicting CSS name
- Increased sub menu depth for mobile from 2 to 3
- Reversion of change in 1.37 and added admin option to actually specify which menu you want the plugin to use
- Fixed location menu nav chooser in admin settings and application of nav location choice on front end
- Removed important declaration from padding left for sub menu items
- Added jQuery click function to auto close the extended menu when an actual menu option is clicked
- Re-organized admin settings into tabs for easier management
- Switched to pure CSS for hiding showing tabbed admin settings for better stability
- Fixed problem with admin plugin settings url changing between dev and prod plugin environments
- Fixed bug in location foreach loop to build location and menu value array ultimately to walk the navigation and build the menu
- Added ability to set width for menu bar logo
- Changed max width for mobile logo setting
- Mobile version of menu was not showing arrow indicator for sub menu items
- Adjustment to the WP Nav walker for mobile to specifically allow for children and grandchildren sub menu options
- Fix jQuery nav open/close trigger if the menu option is an anchor tag
- Adjust query nav open/close trigger if anchor tag is present to be if there is sub menus present to negate if you wanted it to expand the menu option
- WordPress 5 compatibility
- Show shopping cart icon on mobile full nav bar
- Minor CSS fix
- Fixed bug where shopping cart for mobile and desktop both were showing up at the same time
- Added admin option for main content container top padding to ensure content is enough below the nav bar
- Added admin option and logic to display a search icon which will reveal a search box below the nav menu
- Added admin options to customize the design of the search dropdown bar
- Mouse icon will change to pointer when hovering search icon now
- Change get_site_url to get_home_url to accommodate translations for home logo link
- Search icon was mistakenly using wrong font awesome class version
- Fixed search icon again
- Fixed warnings from dependency with google fonts, removed google fonts, added ability to enter font names to use, added ability to set menu bar height, added ability to set nav logo width on mobile
- Fixed var name typo for bar height declaration
- WordPress 5.4 compatibility
- WordPress 5.5 compatibility
- Fixed bug with full transparency on overlay or nav bar containers
- Added class for main logo container
- Fixed bug with overlay transparency inheriting bar transparency setting instead