Skip to content

Commit

Permalink
Minor updates to pass Wordpress Theme Review.
Browse files Browse the repository at this point in the history
  • Loading branch information
kylethielk committed Jan 26, 2013
1 parent a30596e commit c147a96
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
2 changes: 1 addition & 1 deletion footer.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div id="footer">
ReBar Theme by <a href="http://www.bitofnothing.com/">Kyle Thielk</a> | Copyright © <?php echo date("Y"); ?>
ReBar Theme by <a href="http://www.bitofnothing.com/">Kyle Thielk</a> | Copyright <?php echo date("Y"); ?>
</div>
<?php wp_footer(); ?>
</body>
Expand Down
6 changes: 3 additions & 3 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function rebar_limit_tags($max_tags = 3, $separator = ', ')
{
break;
}
$output .= '<a href="' . get_tag_link($tag->term_id) . '" title="' . esc_attr(sprintf(__("View all posts in %s"), $tag->name)) . '">' . $tag->name . '</a>' . $separator;
$output .= '<a href="' . get_tag_link($tag->term_id) . '" title="' . esc_attr("View all posts in " . $tag->name) . '">' . $tag->name . '</a>' . $separator;
$count++;
}

Expand Down Expand Up @@ -101,7 +101,7 @@ function rebar_limit_categories($max_categories = 2, $separator = ', ')
{
break;
}
$output .= '<a href="' . get_category_link($category->term_id) . '" title="' . esc_attr(sprintf(__("View all posts in %s"), $category->name)) . '">' . $category->cat_name . '</a>' . $separator;
$output .= '<a href="' . get_category_link($category->term_id) . '" title="' . esc_attr("View all posts in " . $category->name) . '">' . $category->cat_name . '</a>' . $separator;
$count++;
}

Expand Down Expand Up @@ -129,7 +129,7 @@ function rebar_post_meta()
?>
<div class="categories-container clearfix post-meta">
<div class="muted-hover comment-meta">
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/comment-bubble.gif"/>&nbsp;<?php comments_popup_link('0 Comments', '1 Comment', '% Comments'); ?>
<img src="<?php get_stylesheet_directory_uri(); ?>/images/comment-bubble.gif"/>&nbsp;<?php comments_popup_link('0 Comments', '1 Comment', '% Comments'); ?>
</div>
<?php if (get_the_category() && !is_single()) : ?>
<span class="muted-text categories">Posted in <?php rebar_limit_categories(); ?></span><br/>
Expand Down
7 changes: 7 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
= REBAR =

* by Kyle Thielk, http://www.bitofnothing.com

== ABOUT REBAR ==

ReBar is an elegantly simple theme. Simplicity is the key, where the content rather than the theme is the focus.
12 changes: 11 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ h2 a:hover {
box-shadow: #E9E9E9 0 0px 1px 1px;
-webkit-border-radius: 3px;
border-radius: 3px;
height:65px;
height: 65px;
padding: 11px 10px 10px 10px;
width: 60px;
}
Expand Down Expand Up @@ -624,6 +624,8 @@ a img.aligncenter {
margin-right: auto
}

.wp-caption-text,
.gallery-caption,
.wp-caption {
background: #fff;
border: 1px solid #f0f0f0;
Expand Down Expand Up @@ -658,4 +660,12 @@ a img.aligncenter {
line-height: 17px;
margin: 0;
padding: 0 4px 5px;
}

.sticky {

}

.gallery-caption {

}

0 comments on commit c147a96

Please sign in to comment.