Ticket #1051: rosetta-blog-sidebar.patch
File rosetta-blog-sidebar.patch, 1.9 KB (added by , 9 years ago) |
---|
-
archive.php
42 42 <?php posts_nav_link( ' — ', __( '« Newer Posts', 'rosetta' ), __( 'Older Posts »', 'rosetta' ) ); ?> 43 43 </nav> 44 44 </div> 45 <div class="col-3"> 46 <?php get_sidebar( 'blog' ); ?> 47 </div> 45 48 </div> 46 49 </div> 47 50 -
front-page.php
142 142 </div> 143 143 144 144 <div class="col-3"> 145 <h5><?php _e( 'Blog Archives', 'rosetta' ); ?></h5> 146 <ul> 147 <?php wp_get_archives('type=monthly&limit=12'); ?> 148 </ul> 145 <?php get_sidebar( 'blog' ); ?> 149 146 </div> 150 147 </div> 151 148 </div> -
sidebar-blog.php
1 <h4><?php _e( 'Categories', 'rosetta' ); ?></h4> 2 <ul> 3 <?php wp_list_categories( 'title_li=&show_count=1&orderby=count&order=DESC&number=10' ); ?> 4 </ul> 5 6 <h4><?php _e( 'Blog Archives', 'rosetta' ); ?></h4> 7 <ul> 8 <?php wp_get_archives('type=monthly&limit=12'); ?> 9 </ul> 10 No newline at end of file -
single.php
40 40 <?php posts_nav_link(' — ', __( '« Newer Posts', 'rosetta' ), __( 'Older Posts »', 'rosetta' ) ); ?> 41 41 </div> 42 42 <div class="col-3"> 43 <div class="blog-categories"> 44 <h4><?php _e( 'Categories', 'rosetta' ); ?></h4> 45 <ul> 46 <?php wp_list_categories( 'title_li=&show_count=1&orderby=count&order=DESC&number=10' ); ?> 47 </ul> 48 </div> 43 <?php get_sidebar( 'blog' ); ?> 49 44 </div> 50 45 </div> 51 46 </div>