projects
/
WP-Themes
/
otsego.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f64dc1b
)
switching archive and categories in blog sidebar
author
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 12 Sep 2016 19:56:48 +0000
(15:56 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 12 Sep 2016 19:56:48 +0000
(15:56 -0400)
parts/blog-sidebar-r.php
patch
|
blob
|
history
diff --git
a/parts/blog-sidebar-r.php
b/parts/blog-sidebar-r.php
index
f2cbe82
..
c762726
100644
(file)
--- a/
parts/blog-sidebar-r.php
+++ b/
parts/blog-sidebar-r.php
@@
-15,8
+15,6
@@
}
?>
</ul>
- <p>Archive</p>
- <ul><?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12 ) ); ?></ul>
<p>Categories</p>
<ul>
<?php
@@
-29,5
+27,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>
+ <p>Archive</p>
+ <ul><?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12 ) ); ?></ul>
</div>
</div>
\ No newline at end of file