Permalink
Browse files

Removed unnecessary double loop for page title.

  • Loading branch information...
1 parent 252b7d8 commit a106c6553142ea8850a722a3d92c0c3023b77357 @rachelbaker committed Jul 6, 2012
Showing with 8 additions and 18 deletions.
  1. +6 −0 README.md
  2. +2 −18 index.php
View
@@ -50,6 +50,11 @@ __Class-bootstrapwp-walker-nav_menu.php__
* Extending Walker_Nav_Menu to modify class assigned to submenu ul element
+__Index.php__
+
+* Removed unnecessary double loop for page title.
+
+
##v.87 of BootstrapWP - Released June 4, 2012
**Release Highlights:**
@@ -62,6 +67,7 @@ __Class-bootstrapwp-walker-nav_menu.php__
[Download](https://github.com/downloads/rachelbaker/bootstrapwp-Twitter-Bootstrap-for-WordPress/bootstrapwp-87.zip)
###Full Changelog
+
__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
View
@@ -1,39 +1,23 @@
<?php
/**
- * Template Name: Blog Page
- * Description: Page template to display blog posts
+ *
+ * Description: Default Index template to display loop of blog posts
*
* @package WordPress
* @subpackage WP-Bootstrap
* @since WP-Bootstrap 0.1
*/
get_header(); ?>
-<?php while ( have_posts() ) : the_post(); ?>
<div class="row">
<div class="container">
<?php if (function_exists('bootstrapwp_breadcrumbs')) bootstrapwp_breadcrumbs(); ?>
</div><!--/.container -->
</div><!--/.row -->
<div class="container">
- <!-- Masthead
- ================================================== -->
- <header class="jumbotron subhead" id="overview">
- <h1><?php the_title();?></h1>
-</header>
<div class="row content">
<div class="span8">
- <?php the_content();
- endwhile;
- // end of the loop
- wp_reset_query();
- // resetting the loop
- ?>
- <hr />
- </div><!-- /.span8 -->
-
- <div class="span8">
<?php
// Blog post query
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;

0 comments on commit a106c65

Please sign in to comment.