projects
/
WP-Themes
/
shipwreckmuseum.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50ee623
)
switching archives and categories in the blogsidebar template
author
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 12 Sep 2016 16:58:29 +0000
(12:58 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 12 Sep 2016 16:58:29 +0000
(12:58 -0400)
parts/blog-sidebar-r.php
patch
|
blob
|
history
diff --git
a/parts/blog-sidebar-r.php
b/parts/blog-sidebar-r.php
index
b83ee45
..
ba698f4
100644
(file)
--- a/
parts/blog-sidebar-r.php
+++ b/
parts/blog-sidebar-r.php
@@
-11,8
+11,6
@@
}
?>
</ul>
- <h2>Archive</h2>
- <ul><?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12 ) ); ?></ul>
<h2>Categories</h2>
<ul>
<?php
@@
-25,5
+23,7
@@
echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a> </li> '; }
?>
</ul>
+ <h2>Archive</h2>
+ <ul><?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12 ) ); ?></ul>
</div>
</div>