Posted on

Worn Boot

Image Credit: MikeOliveri

Version .86 of BootstrapWP – Released April 11, 2012

This release resolves a few major bugs and keeps the theme moving forward along with the progress of Twitter Bootstrap.

The major changes are:

  1. Removed the buggy catch_that_image function that was displaying thumbnails for posts, and replacing it with the new bootstrapwp_autoset_featured_image()` function that will automatically set the post thumbnail.
  2. Fixed navbar on mobile devices where body padding was causing the navbar to drop below the the top of the window.
  3. Revised order of stylesheets loading
  4. Corrected the broken favicon links

Download Theme

View on Github

Full log of changes below:


Bootstrap Styles and Scripts

  • Updated JS files from Bootstrap 2.0.3 branch as of April 7, 2012
  • Updated CSS files from Bootstrap 2.0.3 branch as of April 11, 2012
  • Updated LESS files from Bootstrap 2.0.3 branch as of April 7, 2012

Functions.php

  • Added bootstrapwp_autoset_featured_image() function to replace previous catch_that_image() function that was causing issues for some theme users. The post thumbnail will now automatically be set to the first image added to a post if a featured image was not manually declared.
  • Edited bootstrapwp_css_loader() to move /css/bootstrap-responsive.css down in the loading order

Page-blog.php

  • Replaced catch_that_image() function with the_post_thumbnail()

Author.php

  • Replaced catch_that_image() function with the_post_thumbnail()

Archive.php

  • Replaced catch_that_image() function with the_post_thumbnail()

Header.php

  • Added <?php bloginfo( 'template_url' );?> to favicon link
  • Removed get_header() call at top of file

Style.css

  • Added @media (max-width: 979px) { body { padding-top: 0; } to correct navbar on mobile devices
  • Updated .sub-menu style to match .dropdown-menu from the Twitter Bootstrap styles to fix max-width restriction on navigation dropdown items

Page-JSGuide.php

  • Added content from Bootstrap 2.0.3 files
  • Added note about using the JS files within a WordPress theme

Page-Styleguide.php

  • Added content from Bootstrap 2.0.3 files

Misc.

  • Fixed JavaScript guide link in Readme thanks to @fsimmons
  • Updated favicons and moved them to /ico/ folder
  • Adding new screenshot image thanks to @yourdesigncoza

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>