_s: Formatting changes:
- Reduce element comments to either the element id or the first element class. - Tabs > Spaces. - Improve adherence to formatting guidelines.
This commit is contained in:
parent
c7f2b7a1ee
commit
c4f2aa32ce
18 changed files with 301 additions and 307 deletions
44
sidebar.php
44
sidebar.php
|
@ -6,29 +6,29 @@
|
|||
* @since _s 1.0
|
||||
*/
|
||||
?>
|
||||
<div id="secondary" class="widget-area" role="complementary">
|
||||
<?php do_action( 'before_sidebar' ); ?>
|
||||
<?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
|
||||
<div id="secondary" class="widget-area" role="complementary">
|
||||
<?php do_action( 'before_sidebar' ); ?>
|
||||
<?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
|
||||
|
||||
<aside id="search" class="widget widget_search">
|
||||
<?php get_search_form(); ?>
|
||||
</aside>
|
||||
<aside id="search" class="widget widget_search">
|
||||
<?php get_search_form(); ?>
|
||||
</aside>
|
||||
|
||||
<aside id="archives" class="widget">
|
||||
<h1 class="widget-title"><?php _e( 'Archives', '_s' ); ?></h1>
|
||||
<ul>
|
||||
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
|
||||
</ul>
|
||||
</aside>
|
||||
<aside id="archives" class="widget">
|
||||
<h1 class="widget-title"><?php _e( 'Archives', '_s' ); ?></h1>
|
||||
<ul>
|
||||
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
|
||||
</ul>
|
||||
</aside>
|
||||
|
||||
<aside id="meta" class="widget">
|
||||
<h1 class="widget-title"><?php _e( 'Meta', '_s' ); ?></h1>
|
||||
<ul>
|
||||
<?php wp_register(); ?>
|
||||
<li><?php wp_loginout(); ?></li>
|
||||
<?php wp_meta(); ?>
|
||||
</ul>
|
||||
</aside>
|
||||
<aside id="meta" class="widget">
|
||||
<h1 class="widget-title"><?php _e( 'Meta', '_s' ); ?></h1>
|
||||
<ul>
|
||||
<?php wp_register(); ?>
|
||||
<li><?php wp_loginout(); ?></li>
|
||||
<?php wp_meta(); ?>
|
||||
</ul>
|
||||
</aside>
|
||||
|
||||
<?php endif; // end sidebar widget area ?>
|
||||
</div><!-- #secondary .widget-area -->
|
||||
<?php endif; // end sidebar widget area ?>
|
||||
</div><!-- #secondary -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue