Skip to content

Commit

Permalink
Tabs and spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac Gordon committed Apr 23, 2017
1 parent 4276905 commit 592e0cd
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,72 +17,72 @@
<!-- Static Front Page -->
<?php if( is_front_page() && !is_home() ): ?>

<h1>Static Front Page</h1>
<h1>Static Front Page</h1>

<?php endif; ?>

<!-- Blog Home -->
<?php if( is_home() ): ?>

<h1>Blog Home</h1>
<h1>Blog Home</h1>

<?php endif; ?>

<!-- Page (Not Front Page) -->
<?php if( is_page() && !is_front_page() ): ?>

<h1>Page</h1>
<h1>Page</h1>

<?php endif; ?>

<!-- Single Post -->
<?php if( is_single() && !is_attachment() ): ?>

<h1>Post</h1>
<?php the_content(); ?>
<h1>Post</h1>
<?php the_content(); ?>

<?php endif; ?>

<!-- Attachment (Media) -->
<?php if( is_attachment() ): ?>

<h1>Attachment</h1>
<?php the_content(); ?>
<h1>Attachment</h1>
<?php the_content(); ?>

<?php endif; ?>

<!-- Category Archive -->
<?php if( is_category() ): ?>

<h1><?php single_cat_title(); ?></h1>
<h1><?php single_cat_title(); ?></h1>

<?php endif; ?>

<!-- Tag Archive -->
<?php if( is_tag() ): ?>

<h1><?php single_tag_title(); ?></h1>
<h1><?php single_tag_title(); ?></h1>

<?php endif; ?>

<!-- Author Archive -->
<?php if( is_author() ): ?>

<h1><?php the_archive_title(); ?></h1>
<h1><?php the_archive_title(); ?></h1>

<?php endif; ?>

<!-- Date Archive -->
<?php if( is_date() ): ?>

<h1><?php the_archive_title(); ?></h1>
<h1><?php the_archive_title(); ?></h1>

<?php endif; ?>

<!-- 404 Page -->
<?php if( is_404() ): ?>

<h1><?php _e( '404 - Content not found', 'phpforwp' ); ?></h1>
<h1><?php _e( '404 - Content not found', 'phpforwp' ); ?></h1>

<?php endif; ?>

Expand Down

0 comments on commit 592e0cd

Please sign in to comment.