Permalink
Browse files

Continuing .86 Development

__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 7, 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.

__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

__Misc.__

*	Updated favicons and moved them to /ico/ folder
  • Loading branch information...
1 parent acddb52 commit 57955b6911b9d397821753f25b4607807f91a8e1 @rachelbaker committed Apr 7, 2012
Showing with 1,613 additions and 1,163 deletions.
  1. +27 −6 README.md
  2. +18 −17 archive.php
  3. +17 −24 author.php
  4. +238 −196 css/bootstrap-responsive.css
  5. +350 −211 css/bootstrap.css
  6. +8 −6 css/docs.css
  7. BIN favicon.ico
  8. +7 −6 header.php
  9. BIN ico/apple-touch-icon-114-precomposed.png
  10. BIN ico/apple-touch-icon-57-precomposed.png
  11. BIN ico/apple-touch-icon-72-precomposed.png
  12. BIN ico/bootstrap-apple-114x114.png
  13. BIN ico/bootstrap-apple-57x57.png
  14. BIN ico/bootstrap-apple-72x72.png
  15. BIN ico/favicon.ico
  16. +7 −6 js/bootstrap-alert.js
  17. +3 −2 js/bootstrap-button.js
  18. +18 −14 js/bootstrap-carousel.js
  19. +29 −13 js/bootstrap-collapse.js
  20. +5 −3 js/bootstrap-dropdown.js
  21. +14 −9 js/bootstrap-modal.js
  22. +4 −6 js/bootstrap-popover.js
  23. +28 −8 js/bootstrap-scrollspy.js
  24. +9 −5 js/bootstrap-tab.js
  25. +19 −7 js/bootstrap-tooltip.js
  26. +27 −18 js/bootstrap-transition.js
  27. +13 −10 js/bootstrap-typeahead.js
  28. +0 −36 less/badges.less
  29. +2 −3 less/bootstrap.less
  30. +59 −33 less/button-groups.less
  31. +12 −4 less/buttons.less
  32. +11 −0 less/close.less
  33. +4 −2 less/component-animations.less
  34. +9 −18 less/dropdowns.less
  35. +59 −34 less/forms.less
  36. +55 −0 less/labels-badges.less
  37. +0 −37 less/labels.less
  38. +77 −27 less/mixins.less
  39. +5 −1 less/modals.less
  40. +28 −17 less/navbar.less
  41. +10 −10 less/navs.less
  42. +14 −6 less/progress-bars.less
  43. +2 −1 less/reset.less
  44. +23 −0 less/responsive-1200px-min.less
  45. +145 −0 less/responsive-767px-max.less
  46. +15 −0 less/responsive-768px-979px.less
  47. +130 −0 less/responsive-navbar.less
  48. +41 −0 less/responsive-utilities.less
  49. +14 −335 less/responsive.less
  50. +12 −3 less/tables.less
  51. +11 −2 less/thumbnails.less
  52. +1 −0 less/type.less
  53. +9 −4 less/variables.less
  54. +24 −23 page-blog.php
View
@@ -10,9 +10,29 @@ Version .86 (still baking)
__Bootstrap Styles and Scripts__
-* Updated JS files from Bootstrap 2.0.2 branch as of March 11, 2012
-* Updated CSS files from Bootstrap 2.0.2 branch as of March 11, 2012
-* Updated LESS files from Bootstrap 2.0.2 branch as of March 11, 2012
+* 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 7, 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.
+
+__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
__Style.css__
@@ -22,6 +42,7 @@ __Style.css__
__Misc.__
* Fixed JavaScript guide link in Readme (props to fsimmons)
+* Updated favicons and moved them to /ico/ folder
@@ -39,7 +60,7 @@ __Functions.php__
* Added widget area for footer-content
* Fixed content_width size, now 770px
* Added theme language text domain
-* Added after_theme_setup hook to enable post formats
+* Added after_theme_setup hook to enable post formats
* Removed .css and .js from string names of enqueuing script and style functions
__Style.css__
@@ -103,9 +124,9 @@ Usage
Download the BootstrapWP theme, and install to your WordPress site.
-This is meant to be a base theme for WordPress custom theme development.
+This is meant to be a base theme for WordPress custom theme development.
-You can override any of the styles using style.css file. All .css and .js files are loaded in functions.php. Don't forget to disable any of the .js files you do not need.
+You can override any of the styles using style.css file. All .css and .js files are loaded in functions.php. Don't forget to disable any of the .js files you do not need.
View
@@ -12,7 +12,7 @@
* @since WP-Bootstrap 0.6
*/
-get_header();
+get_header();
if (have_posts() ) ;?>
<div class="row">
<div class="container">
@@ -53,21 +53,22 @@
<div <?php post_class(); ?>>
<a href="<?php the_permalink(); ?>" title="<?php the_title();?>"><h3><?php the_title();?></h3></a>
<p class="meta"><?php echo bootstrapwp_posted_on();?></p>
- <div class="row">
- <div class="span2">
- <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
- <?php echo catch_that_image();?></a>
- </div><!-- /.span2 -->
- <div class="span6">
- <?php the_excerpt();?>
- </div><!-- /.span6 -->
- </div><!-- /.row -->
- <hr />
- </div><!-- /.post_class -->
- <?php endwhile; ?>
- <?php bootstrapwp_content_nav('nav-below');?>
+ <div class="row">
+ <div class="span2"><?php // Checking for a post thumbnail
+ if ( has_post_thumbnail() ) ?>
+ <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
+ <?php the_post_thumbnail();?></a>
+ </div><!-- /.span2 -->
+ <div class="span6">
+ <?php the_excerpt();?>
+ </div><!-- /.span6 -->
+ </div><!-- /.row -->
+ <hr />
+ </div><!-- /.post_class -->
+ <?php endwhile; ?>
+ <?php bootstrapwp_content_nav('nav-below');?>
- </div><!-- /.span8 -->
- <?php get_sidebar('blog'); ?>
+ </div><!-- /.span8 -->
+ <?php get_sidebar('blog'); ?>
- <?php get_footer(); ?>
+ <?php get_footer(); ?>
View
@@ -27,44 +27,37 @@
</div><!--/.row -->
<div class="container">
<header class="jumbotron subhead" id="overview">
-
<h1 class="page-title author"><?php printf( __( 'Author Archives: %s', 'bootstrapwp' ), '<span class="vcard"><a class="url fn n" href="' . get_author_posts_url( get_the_author_meta( "ID" ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1>
</header>
-
<?php
/* Since we called the_post() above, we need to
* rewind the loop back to the beginning that way
* we can run the loop properly, in full.
*/
rewind_posts();
?>
-
-
<div class="row content">
<div class="span8">
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<div <?php post_class(); ?>>
<a href="<?php the_permalink(); ?>" title="<?php the_title();?>"><h3><?php the_title();?></h3></a>
<p class="meta"><?php echo bootstrapwp_posted_on();?></p>
- <div class="row">
- <div class="span2">
- <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
- <?php echo catch_that_image();?></a>
- </div><!-- /.span2 -->
- <div class="span6">
- <?php the_excerpt();?>
- </div><!-- /.span6 -->
- </div><!-- /.row -->
- <hr />
- </div><!-- /.post_class -->
- <?php endwhile; ?>
-
-
- <?php endif; ?>
-
-
- </div><!-- /.span8 -->
- <?php get_sidebar('blog'); ?>
+ <div class="row">
+ <div class="span2"><?php // Checking for a post thumbnail
+ if ( has_post_thumbnail() ) ?>
+ <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
+ <?php the_post_thumbnail();?></a>
+ </div><!-- /.span2 -->
+ <div class="span6">
+ <?php the_excerpt();?>
+ </div><!-- /.span6 -->
+ </div><!-- /.row -->
+ <hr />
+ </div><!-- /.post_class -->
+ <?php endwhile; ?>
+ <?php endif; ?>
+ </div><!-- /.span8 -->
+ <?php get_sidebar('blog'); ?>
- <?php get_footer(); ?>
+ <?php get_footer(); ?>
Oops, something went wrong.

0 comments on commit 57955b6

Please sign in to comment.