Permalink
Browse files

removed the date and author information

date and author information is rarely needed on pages so I have no idea why I included it in previous versions of the theme.

I also removed a TODO note that was done.
  • Loading branch information...
1 parent 3854f85 commit 6122941030dbe5c6e781fae5747816f01c43b7dc @curtismchale committed Dec 3, 2011
Showing with 6 additions and 12 deletions.
  1. +6 −12 page.php
View
@@ -10,7 +10,6 @@
*
* @since 1.0
*
- * TODO clean up the indentation here
*/
?>
<?php get_header(); ?>
@@ -25,17 +24,12 @@
<div class="post-heading">
- <!-- TODO remove the time and author since it's rarely needed on a page -->
- <time class="date-published"><?php the_time( get_option('date_format') ); ?></time>
-
- <!-- conditionally displays h1 if is not the frontpage of the site -->
- <?php if (is_front_page()) : ?>
- <h2 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
- <?php else: ?>
- <h1 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
- <?php endif; ?>
-
- <p class="post-author">by <?php the_author_posts_link(); ?></p>
+ <!-- conditionally displays h1 if is not the frontpage of the site -->
+ <?php if (is_front_page()) : ?>
+ <h2 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
+ <?php else: ?>
+ <h1 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
+ <?php endif; ?>
</div><!-- /.post-heading -->

0 comments on commit 6122941

Please sign in to comment.