Skip to content

Commit

Permalink
addresses WPBuddy#189 -- use css to uppercase template labels
Browse files Browse the repository at this point in the history
  • Loading branch information
rnagle committed Dec 19, 2014
1 parent 9c018ce commit b89a4b9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions homepages/templates/top-stories.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
if ( $feature_posts ):
foreach ( $feature_posts as $feature_post ): ?>

<h4 class="related-story"><?php _e('RELATED:', 'largo'); ?> <a href="<?php echo esc_url( get_permalink( $feature_post->ID ) ); ?>"><?php echo get_the_title( $feature_post->ID ); ?></a></h4>
<h4 class="related-story"><?php _e('Related:', 'largo'); ?> <a href="<?php echo esc_url( get_permalink( $feature_post->ID ) ); ?>"><?php echo get_the_title( $feature_post->ID ); ?></a></h4>
<?php endforeach;
endif;
endif;
Expand Down Expand Up @@ -87,4 +87,4 @@
endif; // end more featured posts ?>
</div>
<?php } ?>
</div>
</div>
2 changes: 1 addition & 1 deletion partials/nav-global.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<div id="header-search">
<form class="form-search" role="search" method="get" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<div class="input-append">
<input type="text" placeholder="<?php _e('Search', 'largo'); ?>" class="input-medium appendedInputButton search-query" value="" name="s" /><button type="submit" class="search-submit btn"><?php _e('GO', 'largo'); ?></button>
<input type="text" placeholder="<?php _e('Search', 'largo'); ?>" class="input-medium appendedInputButton search-query" value="" name="s" /><button type="submit" class="search-submit btn"><?php _e('Go', 'largo'); ?></button>
</div>
</form>
</div>
Expand Down
2 changes: 1 addition & 1 deletion partials/nav-sticky.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<input type="text" placeholder="<?php esc_attr_e('Search', 'largo'); ?>"
class="input-medium appendedInputButton search-query" value="" name="s" />
</span>
<button type="submit" class="search-submit btn"><?php _e('GO', 'largo'); ?></button>
<button type="submit" class="search-submit btn"><?php _e('Go', 'largo'); ?></button>
</div>
</form>
</li>
Expand Down
6 changes: 3 additions & 3 deletions partials/sticky-posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@
if ( has_post_thumbnail() ) {
?>
<div class="image-wrap">
<h4><?php _e('FEATURED', 'largo'); ?></h4>
<h4><?php _e('Featured', 'largo'); ?></h4>
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
</div>
<?php
} else {
?>
<h4 class="no-image"><?php _e('FEATURED', 'largo'); ?></h4>
<h4 class="no-image"><?php _e('Featured', 'largo'); ?></h4>
<?php
} // end thumbnail
?>
Expand Down Expand Up @@ -90,4 +90,4 @@
} // is_paged
endwhile;
}
?>
?>
4 changes: 2 additions & 2 deletions searchform.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<form class="form-search" role="search" method="get" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<div>
<input type="text" placeholder="<?php _e('Search', 'largo'); ?>" class="searchbox search-query" value="" name="s" />
<input type="submit" value="<?php _e('GO', 'largo'); ?>" name="search submit" class="search-submit btn">
<input type="submit" value="<?php _e('Go', 'largo'); ?>" name="search submit" class="search-submit btn">
</div>
</form>

<?php endif; ?>
<?php endif; ?>

0 comments on commit b89a4b9

Please sign in to comment.