Skip to content

Commit

Permalink
Use "archive" instead of "loop" terminology to bring in line with HC3+.
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Tadlock committed Jan 5, 2016
1 parent ee3d825 commit 4efa532
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions misc/loop-meta.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<div <?php hybrid_attr( 'loop-meta' ); ?>>
<div <?php hybrid_attr( 'archive-header' ); ?>>

<h1 <?php hybrid_attr( 'loop-title' ); ?>><?php the_archive_title(); ?></h1>
<h1 <?php hybrid_attr( 'archive-title' ); ?>><?php the_archive_title(); ?></h1>

<?php if ( is_category() || is_tax() ) : // If viewing a category or custom taxonomy. ?>

<?php hybrid_get_menu( 'sub-terms' ); // Loads the menu/sub-terms.php template. ?>

<?php endif; // End taxonomy check. ?>

<?php if ( !is_paged() && $desc = get_the_archive_description() ) : // Check if we're on page/1. ?>
<?php if ( ! is_paged() && $desc = get_the_archive_description() ) : // Check if we're on page/1. ?>

<div <?php hybrid_attr( 'loop-description' ); ?>>
<div <?php hybrid_attr( 'archive-description' ); ?>>
<?php echo $desc; ?>
</div><!-- .loop-description -->

Expand Down
10 changes: 5 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ img.stargazer-full { margin: 0 0 1.5rem; }
.entry::after,
.entry-content::after,
.entry-summary::after,
.loop-meta::after,
.archive-header::after,
li.comment::after,
li.comment > article::after,
li.ping::after,
Expand Down Expand Up @@ -1411,9 +1411,9 @@ blockquote::before,
* This displays the archive, blog, and search title + description.
*/

.loop-meta { margin: 0 0 1.5rem; }
.archive-header { margin: 0 0 1.5rem; }

.loop-description {
.archive-description {
margin: 0 0 1.5rem;
padding: 1.5rem 1.5rem 0;
border: 1px solid;
Expand Down Expand Up @@ -2795,7 +2795,7 @@ textarea,
.media-info li,
.wp-playlist-tracks,
.wp-playlist-item,
.loop-description,
.archive-description,
.navigation,
.loop-nav,
#sidebar-subsidiary,
Expand Down Expand Up @@ -3037,7 +3037,7 @@ select:focus {
.format-chat .chat-speaker-10 .chat-author,
.format-chat .chat-speaker-20 .chat-author { color: #1abc9c; }

.loop-description {
.archive-description {
color: #757575;
background: #f9f9f9;
}
Expand Down
2 changes: 1 addition & 1 deletion style.min.css

Large diffs are not rendered by default.

0 comments on commit 4efa532

Please sign in to comment.