Skip to content

Commit

Permalink
Fix Coding standards in 404.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Everaldo Matias committed Sep 12, 2017
1 parent 2e4bff4 commit b7da86b
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<div class="page-header">
<div class="container">
<h1 class="page-title"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'coletivo' ); ?></h1>
</div>
</div>
</div><!-- container -->
</div><!-- page-header -->

<div id="content-inside" class="container right-sidebar">
<div id="primary" class="content-area">
Expand All @@ -30,20 +30,20 @@
<?php the_widget( 'WP_Widget_Recent_Posts' ); ?>

<?php if ( coletivo_categorized_blog() ) : // Only show the widget if site has multiple categories. ?>
<div class="widget widget_categories">
<h2 class="widget-title"><?php esc_html_e( 'Most Used Categories', 'coletivo' ); ?></h2>
<ul>
<?php
wp_list_categories( array(
'orderby' => 'count',
'order' => 'DESC',
'show_count' => 1,
'title_li' => '',
'number' => 10,
) );
?>
</ul>
</div><!-- .widget -->
<div class="widget widget_categories">
<h2 class="widget-title"><?php esc_html_e( 'Most Used Categories', 'coletivo' ); ?></h2>
<ul>
<?php
wp_list_categories( array(
'orderby' => 'count',
'order' => 'DESC',
'show_count' => 1,
'title_li' => '',
'number' => 10,
) );
?>
</ul>
</div><!-- .widget -->
<?php endif; ?>

<?php
Expand All @@ -65,4 +65,4 @@
</div><!--#content-inside -->
</div><!-- #content -->

<?php get_footer(); ?>
<?php get_footer(); ?>

0 comments on commit b7da86b

Please sign in to comment.