Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor code style clean-up

  • Loading branch information...
commit 7be757759c2eb17a25af411fcdb781577e96f468 1 parent a47b152
@iamtakashi iamtakashi authored
View
10 404.php
@@ -26,7 +26,15 @@
<div class="widget widget_categories">
<h2 class="widgettitle"><?php _e( 'Most Used Categories', '_s' ); ?></h2>
<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>
</div><!-- .widget -->
<?php endif; ?>
View
2  archive.php
@@ -28,7 +28,7 @@
* what author we're dealing with (if that is the case).
*/
the_post();
- printf( __( 'Author Archives: %s', '_s' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( "ID" ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' );
+ printf( __( 'Author Archives: %s', '_s' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' );
/* Since we called the_post() above, we need to
* rewind the loop back to the beginning that way
* we can run the loop properly, in full.
View
7 content-page.php
@@ -13,7 +13,12 @@
<div class="entry-content">
<?php the_content(); ?>
- <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', '_s' ), 'after' => '</div>' ) ); ?>
+ <?php
+ wp_link_pages( array(
+ 'before' => '<div class="page-links">' . __( 'Pages:', '_s' ),
+ 'after' => '</div>'
+ ) );
+ ?>
</div><!-- .entry-content -->
<?php edit_post_link( __( 'Edit', '_s' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>
</article><!-- #post-## -->
View
7 content-single.php
@@ -15,7 +15,12 @@
<div class="entry-content">
<?php the_content(); ?>
- <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', '_s' ), 'after' => '</div>' ) ); ?>
+ <?php
+ wp_link_pages( array(
+ 'before' => '<div class="page-links">' . __( 'Pages:', '_s' ),
+ 'after' => '</div>'
+ ) );
+ ?>
</div><!-- .entry-content -->
<footer class="entry-meta">
View
7 content.php
@@ -22,7 +22,12 @@
<?php else : ?>
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', '_s' ) ); ?>
- <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', '_s' ), 'after' => '</div>' ) ); ?>
+ <?php
+ wp_link_pages( array(
+ 'before' => '<div class="page-links">' . __( 'Pages:', '_s' ),
+ 'after' => '</div>'
+ ) );
+ ?>
</div><!-- .entry-content -->
<?php endif; ?>
View
7 image.php
@@ -90,7 +90,12 @@
</div><!-- .entry-attachment -->
<?php the_content(); ?>
- <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', '_s' ), 'after' => '</div>' ) ); ?>
+ <?php
+ wp_link_pages( array(
+ 'before' => '<div class="page-links">' . __( 'Pages:', '_s' ),
+ 'after' => '</div>'
+ ) );
+ ?>
</div><!-- .entry-content -->
View
7 inc/template-tags.php
@@ -96,7 +96,12 @@ function _s_comment( $comment, $args, $depth ) {
<div class="comment-content"><?php comment_text(); ?></div>
<div class="reply">
- <?php comment_reply_link( array_merge( $args, array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
+ <?php
+ comment_reply_link( array_merge( $args,array(
+ 'depth' => $depth,
+ 'max_depth' => $args['max_depth']
+ ) ) );
+ ?>
</div><!-- .reply -->
</article><!-- #comment-## -->
Please sign in to comment.
Something went wrong with that request. Please try again.