Posted on

The goals of this release are:

  1. Switch to using the Less files instead of CSS

  2. Add styling for wp_page_menu to navbar
  3. Update styles and scripts to Bootstrap 2.04 dev branch
  4. Switch to using bootstrap.js file instead of the separate .js files

You can follow the development on Github via the WIP branch

Version .87 of BootstrapWP – still baking….

Functions.php

  • Edited bootstrapwp_css_loader() function to use new /less/bootstrapwp.css generated from Less file compilation and removed references to previously used css files
  • Edited bootstrapwp_js_loader() to remove prettify.js script
  • Added new Bootstrap_Walker_Nav_Menu class to assign “dropdown-menu” class to navigation sub-menus

Style.css

  • Removed content because it this file is not loaded via bootstrapwp_css_loader()
  • Added note to add custom updates to the less/bswp-custom.less file to safely retain the ability to update the less files with future versions of Bootstrap or BootstrapWP
  • Bumped version to .87

JS Folder

  • Removed the individual .js files and replaced with single compiled bootstrap.js file

CSS Folder

  • Removed folder entirely because main style file is compiled less file located at less/bootstrapwp.css

LESS Folder

  • Updated LESS files from Twitter Bootstrap 2.04 branch
  • Added bswp-docs.less file to pull in styles to allow doc pages to format correctly
  • Added note to use bswp-custom.less file for any custom additions to allow for easy updating of styles.

Tags: ,


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>