Skip to content

Instantly share code, notes, and snippets.

@whyisjake
Created October 25, 2013 22:43
Show Gist options
  • Save whyisjake/7162944 to your computer and use it in GitHub Desktop.
Save whyisjake/7162944 to your computer and use it in GitHub Desktop.
diff --git a/includes/slideshow.php b/includes/slideshow.php
index 7c0e4c4..96b2e22 100644
--- a/includes/slideshow.php
+++ b/includes/slideshow.php
@@ -164,16 +164,16 @@ function make_bs_slideshow() {
if (isset($image->post_excerpt)) {
$output .= '<p>' . $image->post_excerpt . '</p>';
}
- $output .= '</div>';
+ $output .= '</div><!-- .carousel-caption -->';
}
- $output .= '</div>';
+ $output .= '</div><!-- .item -->';
} //foreach
- $output .= '</div>
+ $output .= '</div><!-- .carousel-inner -->
<a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a>
<a class="right carousel-control" href="#myCarousel" data-slide="next">›</a>
- </div>';
+ </div><!-- .carousel -->';
$output .= '<p class="pull-right"><span class="viewall" style="cursor:pointer">View All</span></p>';
$output .= '
<script>
@whyisjake
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment