Version 1.4.4
WBST WordPress starter theme with Bootstrap and WooCommerce compatibility. It also has my popular two scripts – Hovernav (Bootstrap navbar dropdown on hover) and Meganav (Bootstrap navbar megamenu).
WBST Plus has a little brother – BST, Bootstrap Starter Theme https://github.com/SimonPadbury/bst. WBST shares the same basic features as BST, but adds a few more features.
If you want even more features, you may find them in the biggest member of this family – BST-Plus https://github.com/BST-Plus/BST-Plus.
modernizr-2.8.3.min.js
and respond.js
- included, enqueued.css/wbst.css
, enqueued. (Don't put your own styles in style.css
.)@import
, so that what you see in the visual editor is (mostly!) what you get at the front end (WYSI(M!)WYG). E.g. you will see the theme's typography in the WordPress Post/Page editor, but its width will not be the same as your article column width in the front end.1 | 2 | 3 | Older ->
) for Blog index and category pages.functions/cleanup.php
there are some filters included (but commented-out, so are inactive) for removing WordPress IDs and classes from the navbar(s). If you would like to use these filters, then simply un-comment them.js/wbst.js
, enqueued.Hovernav is comprised of some jQuery and CSS that together restore "sub-menu appears on hover (mouseover)" to Bootstrap, for screen widths > 786px. Screen tap functionality (e.g. tablets) is not changed. If you don't want Hovernav, simply delete these styles and scripts and the normal Bootstrap behavior is restored.
Meganav is comprised of some jQuery and CSS that enable the bootstrap navbar dropdown to appear as a megamenu if there is a sub-sub-menu (i.e. grandchild menu) present. On small screens (<=768px) the sub-sub-menu appears within the big dropdown (i.e. it is available on small screens too). If you don't want Meganav, simply delete these styles and scripts and the normal Bootstrap behavior is restored.
To set up a mega-menu in WordPress, simply use the menu builder in the normal way, dragging menu items to the right until you have sub-sub-menus, e.g.
Parent link 1
Parent link 2
Child link 2.1
Grandchild link 2.1.1
Grandchild link 2.1.2
Grandchild link 2.1.3
Child link 2.2
Parent link 3