forked from mirror/_s
_s: Minor updates to categories widget. Closes #183.
This commit is contained in:
parent
603b57727f
commit
32d2432487
8
404.php
8
404.php
|
@ -22,14 +22,14 @@ get_header(); ?>
|
||||||
|
|
||||||
<?php the_widget( 'WP_Widget_Recent_Posts' ); ?>
|
<?php the_widget( 'WP_Widget_Recent_Posts' ); ?>
|
||||||
|
|
||||||
<?php if ( _s_categorized_blog() ) : // Only print the widget if blog has multiple categories ?>
|
<?php if ( _s_categorized_blog() ) : // Only show the widget if site has multiple categories. ?>
|
||||||
<div class="widget">
|
<div class="widget widget_categories">
|
||||||
<h2 class="widgettitle"><?php _e( 'Most Used Categories', '_s' ); ?></h2>
|
<h1 class="widgettitle"><?php _e( 'Most Used Categories', '_s' ); ?></h2>
|
||||||
<ul>
|
<ul>
|
||||||
<?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?>
|
<?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?>
|
||||||
</ul>
|
</ul>
|
||||||
</div><!-- .widget -->
|
</div><!-- .widget -->
|
||||||
<?php endif; // end check for multiple categories ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/* translators: %1$s: smiley */
|
/* translators: %1$s: smiley */
|
||||||
|
|
Reference in New Issue