Permalink
Browse files

Code cleanup

Fix indenting, trailing white space and more
  • Loading branch information...
1 parent 10f0694 commit 30f9e0d113e9fea55965cc37156f59b44d6293e2 @jayj committed Jun 1, 2012
View
20 404.php
@@ -2,7 +2,7 @@
/**
* 404 template
*
- * The 404 template is used when a reader visits an invalid URL on your site. By default, the template will
+ * The 404 template is used when a reader visits an invalid URL on your site. By default, the template will
* display a generic message.
*
* @package Cakifo
@@ -12,7 +12,7 @@
/**
* Include the header template part file
- *
+ *
* Child Themes can replace this template part file globally, via {header.php},
* or in a specific context only, via {header-404.php}
*/
@@ -38,15 +38,15 @@
</article> <!-- .hentry -->
- <?php
+ <?php
/**
* Include the Error Page widgets "sidebar" template part file
- *
- * Child Themes can replace this template part file globally,
+ *
+ * Child Themes can replace this template part file globally,
* via "sidebar.php", or in the Error 404 Page context only, via
* "sidebar-404.php"
*/
- get_sidebar( '404' );
+ get_sidebar( '404' );
?>
<?php do_atomic( 'close_main' ); // cakifo_close_main ?>
@@ -55,12 +55,12 @@
<?php do_atomic( 'after_main' ); // cakifo_after_main ?>
-<?php
+<?php
/**
* Include the footer template part file
- *
+ *
* Child Themes can replace this template part file globally, via {footer.php},
* or in a specific context only, via {footer-404.php}
*/
-get_footer( '404' );
-?>
+get_footer( '404' );
+?>
View
@@ -2,7 +2,7 @@
/**
* Archive Template
*
- * The archive template is the default template used for archives pages without a more specific template.
+ * The archive template is the default template used for archives pages without a more specific template.
*
* @package Cakifo
* @subpackage Template
@@ -32,4 +32,4 @@
<?php do_atomic( 'after_main' ); // cakifo_after_main ?>
-<?php get_footer(); // Loads the footer.php template ?>
+<?php get_footer(); // Loads the footer.php template ?>
View
@@ -2,7 +2,7 @@
/**
* Attachment Template
*
- * This is the default attachment template. It is used when visiting the singular view of a post attachment
+ * This is the default attachment template. It is used when visiting the singular view of a post attachment
* page (images, videos, audio, etc.).
*
* @package Cakifo
@@ -27,8 +27,8 @@
<header class="entry-header">
<?php
- echo apply_atomic_shortcode( "attachment_metadeta", '<div class="entry-format">' . sprintf(
- __( 'Published on [entry-published] in <a href="%1$s" title="Return to %2$s" rel="gallery">%2$s</a> [entry-edit-link before=" | "]', 'cakifo' ),
+ echo apply_atomic_shortcode( "attachment_metadeta", '<div class="entry-format">' . sprintf(
+ __( 'Published on [entry-published] in <a href="%1$s" title="Return to %2$s" rel="gallery">%2$s</a> [entry-edit-link before=" | "]', 'cakifo' ),
esc_url( get_permalink( $post->post_parent ) ),
get_the_title( $post->post_parent )
) . '</div>' );
@@ -72,7 +72,7 @@
<h4><?php _e( 'Gallery', 'cakifo' ); ?></h4>
<?php echo apply_atomic_shortcode( 'attachment_gallery', sprintf( '[gallery id="%1$s" exclude="%2$s" columns="5" size="small"]', $post->post_parent, get_the_ID() ) ); ?>
</div> <!-- #attachment-gallery -->
- </div> <!-- #image-info -->
+ </div> <!-- #image-info -->
<?php endif; ?>
@@ -98,4 +98,4 @@
<?php do_atomic( 'after_main' ); // cakifo_after_main ?>
-<?php get_footer(); // Loads the footer.php template ?>
+<?php get_footer(); // Loads the footer.php template ?>
View
@@ -3,7 +3,7 @@
* Comment Template
*
* The comment template displays an individual comment. This can be overwritten by templates specific
- * to the comment type (comment.php, comment-{$comment_type}.php, comment-pingback.php,
+ * to the comment type (comment.php, comment-{$comment_type}.php, comment-pingback.php,
* comment-trackback.php) in a child theme.
*
* @package Cakifo
@@ -45,4 +45,4 @@
</article> <!-- #comment-<?php comment_ID(); ?> -->
- <?php /* No closing </li> is needed. WordPress will know where to add it. */ ?>
+ <?php /* No closing </li> is needed. WordPress will know where to add it. */ ?>
View
@@ -2,7 +2,7 @@
/**
* Comments Template
*
- * Lists comments and calls the comment form. Individual comments have their own templates. The
+ * Lists comments and calls the comment form. Individual comments have their own templates. The
* hierarchy for these templates is $comment_type.php, comment.php.
*
* @package Cakifo
@@ -56,4 +56,4 @@
<?php comment_form(); // Loads the comment form ?>
-</section> <!-- #comments -->
+</section> <!-- #comments -->
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -5,7 +5,7 @@
* The footer template is generally used on every page of your site. Nearly all other
* templates call it somewhere near the bottom of the file. It is used mostly as a closing
* wrapper, which is opened with the header.php file. It also executes key functions needed
- * by the theme, child themes, and plugins.
+ * by the theme, child themes, and plugins.
*
* @package Cakifo
* @subpackage Template
@@ -53,4 +53,4 @@
<?php wp_footer(); // wp_footer ?>
</body>
-</html>
+</html>
Oops, something went wrong.

0 comments on commit 30f9e0d

Please sign in to comment.