Posted on

Urban Cowgirl in Boots

Image Credit: TrevinC

Version .8 of BootstrapWP has been released

The project continues to keep track with the development of Twitter’s Bootstrap toolkit while WordPress integration improves.

Download on GitHub

Full log of changes below:


Header.php

  • Changed title to to allow for better integration with WordPress SEO plugin
  • Added body data attributes: data-spy=“scroll” data-target=“.subnav” data-offset=“50” data-rendering=“true”
  • Changed navbar class to Bootstrap default of “navbar-fixed-top”
  • Updated wp_nav_menu function array, added “‘container’ => ‘div’, ‘container_class’ => ‘nav-collapse’,” to provide div wrapper with proper class

Functions.php

  • Improved file structure and comments
  • Added bootstrap-responsive.css to bootstrapwp_css_loader function
  • Added application.js to bootstrapwp_js_loader function and removed tablesorter.js
  • Revised pagination section to use ul class=“pager” instead of div id=“pagination”
  • Revised sidebars to use div element as widget wrapper instead of aside element
  • Changed widget titles to h4 instead of h3 elements
  • Added catch_that_image function to grab the first image in blog posts
  • Added support for post-thumbnails and added image sizes for Bootstrap image thumbnails

Page-JSGuide.php

  • Updated Javascript Guide Template to match content from Bootstrap javascript.html file
    Footer.php
  • Removed jQuery onload functions that are now all called in application.js
  • Added jQuery append function to automatically apply b class=“caret” to dropdown menu items in navbar

Style.css

  • Updated icon image location to match theme setup
  • Added .icon-white class with corrected image location
  • Removed over-ride of body padding to allow correct spacing with fixed navbar
  • Added styles for comment form
  • Added color primary button colors for comment and search submit buttons
  • Added styling for sidebars and sidebar list items
  • Added .meta class for blog post meta information

Single.php

  • Edited content on index.php template to directly correlate with index.html Bootstrap file
  • Added bootstrapwp_posted_on function under post title

Page-simple.php

  • Created template for a simple page with right sidebar, no breadcrumbs or subhead masthead.
    Page-blog.php
  • Created template for a main blog page with right sidebar.
  • Added paging to blog template
  • Displayed first image attached to blog posts using catch_that_image function

Author.php

  • Fixed formatting on this template file to match archive.php
  • Added hr element to separate posts
  • Displayed first image attached to blog posts using catch_that_image function

Archive.php

  • Added hr element to separate archive post listings
  • Displayed first image attached to blog posts using catch_that_image function

Other/Misc.

  • Updated CSS and JS files to Bootstrap 2 Final Release files
  • Removed “lib” folder and replaced with Bootstrap “less” folder
  • Removed tablesorter.js file – as it is no longer used in Bootstrap 2.0
  • Removed wordpress.css file – as it is no longer used in Bootstrap 2.0
  • Updated screenshot.png file
  • Removed image.php template file

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>