Permalink
Browse files

General cleanup.

  • Loading branch information...
1 parent e33b62a commit 390fe3864027c1d75e20639ad5b0d94062bb9aee @chrisbarnes chrisbarnes committed Jul 22, 2012
Showing with 5 additions and 10 deletions.
  1. +2 −0 library/shortcodes.php
  2. +1 −8 page-homepage.php
  3. +1 −1 sidebar-sidebar2.php
  4. +1 −1 sidebar.php
View
@@ -11,6 +11,8 @@
function gallery_shortcode_tbs($attr) {
global $post, $wp_locale;
+ $output = "";
+
$args = array( 'post_type' => 'attachment', 'numberposts' => -1, 'post_status' => null, 'post_parent' => $post->ID );
$attachments = get_posts($args);
if ($attachments) {
View
@@ -78,11 +78,6 @@
</article> <!-- end article -->
- <?php
- // No comments on homepage
- //comments_template();
- ?>
-
<?php endwhile; ?>
<?php else : ?>
@@ -101,9 +96,7 @@
<?php endif; ?>
</div> <!-- end #main -->
-
- <?php //get_sidebar(); // sidebar 1 ?>
-
+
</div> <!-- end #content -->
<?php get_footer(); ?>
View
@@ -10,7 +10,7 @@
<!-- This content shows up if there are no widgets defined in the backend. -->
- <div class="alert-box">Please activate some Widgets.</div>
+ <p>Please activate some Widgets.</p>
<?php endif; ?>
View
@@ -10,7 +10,7 @@
<!-- This content shows up if there are no widgets defined in the backend. -->
- <div class="alert-box">Please activate some Widgets.</div>
+ <p>Please activate some Widgets.</p>
<?php endif; ?>

0 comments on commit 390fe38

Please sign in to comment.