Skip to content

Commit

Permalink
Format special pages correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jun 13, 2011
1 parent 9f44f99 commit c98f54b
Show file tree
Hide file tree
Showing 12 changed files with 41 additions and 34 deletions.
6 changes: 4 additions & 2 deletions 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

get_header(); ?>

<div id="container">
<div id="container" class="span-15">
<div id="content" role="main">

<div id="post-0" class="post error404 not-found">
Expand All @@ -34,4 +34,6 @@
document.getElementById('s') && document.getElementById('s').focus();
</script>

<?php get_footer(); ?>
<?php
get_sidebar();
get_footer();
7 changes: 4 additions & 3 deletions archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
get_header();
?>

<div id="container">
<div id="container" class="span-15">
<div id="content" role="main">

<?php
Expand Down Expand Up @@ -65,5 +65,6 @@
</div><!-- #content -->
</div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>
<?php
get_sidebar();
get_footer();
6 changes: 4 additions & 2 deletions attachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

get_header(); ?>

<div id="container" class="single-attachment">
<div id="container" class="single-attachment span-15">
<div id="content" role="main">

<?php
Expand All @@ -30,4 +30,6 @@
</div><!-- #content -->
</div><!-- #container -->

<?php get_footer(); ?>
<?php
get_sidebar();
get_footer();
7 changes: 4 additions & 3 deletions author.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

get_header(); ?>

<div id="container">
<div id="container" class="span-15">
<div id="content" role="main">

<?php
Expand Down Expand Up @@ -63,5 +63,6 @@
</div><!-- #content -->
</div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>
<?php
get_sidebar();
get_footer();
7 changes: 4 additions & 3 deletions category.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

get_header(); ?>

<div id="container">
<div id="container" class="span-15">
<div id="content" role="main">

<h1 class="page-title"><?php
Expand All @@ -37,5 +37,6 @@
</div><!-- #content -->
</div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>
<?php
get_sidebar();
get_footer();
2 changes: 1 addition & 1 deletion loop-attachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<?php
printf( __( '<span class="%1$s">By</span> %2$s', 'essence' ),
'meta-prep meta-prep-author',
sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>',
get_author_posts_url( get_the_author_meta( 'ID' ) ),
sprintf( esc_attr__( 'View all posts by %s', 'essence' ), get_the_author() ),
get_the_author()
Expand Down
2 changes: 1 addition & 1 deletion loop-single.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<h2><?php printf( esc_attr__( 'About %s', 'essence' ), get_the_author() ); ?></h2>
<?php the_author_meta( 'description' ); ?>
<div id="author-link">
<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" rel="author">
<?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'essence' ), get_the_author() ); ?>
</a>
</div><!-- #author-link -->
Expand Down
5 changes: 2 additions & 3 deletions onecolumn-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@
}
}

get_header();
?>

<?php get_header(); ?>

<div id="container" class="onecolumn">
<div id="content">

Expand All @@ -37,4 +36,4 @@
</div><!-- #content -->
</div><!-- #container -->

<?php get_footer(); ?>
<?php get_footer();
7 changes: 4 additions & 3 deletions page.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<?php get_header(); ?>

<div id="container">
<div id="container" class="span-15">
<div id="content">

<?php
Expand All @@ -37,5 +37,6 @@
</div><!-- #content -->
</div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>
<?php
get_sidebar();
get_footer();
7 changes: 4 additions & 3 deletions search.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

?>

<div id="container">
<div id="container" class="span-15">
<div id="content" role="main">

<?php if ( have_posts() ) : ?>
Expand All @@ -42,5 +42,6 @@
</div><!-- #content -->
</div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>
<?php
get_sidebar();
get_footer();
8 changes: 4 additions & 4 deletions single.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
}
}

get_header();
?>

<?php get_header(); ?>

<div id="content-container" class="span-15">
<div id="content">

Expand All @@ -32,5 +31,6 @@
</div><!-- #content -->
</div><!-- #ccontent-ontainer -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>
<?php
get_sidebar();
get_footer();
11 changes: 5 additions & 6 deletions tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@
}
}

?>

<?php get_header(); ?>
get_header(); ?>

<div id="container">
<div id="container" class="span-15">
<div id="content">

<h1 class="page-title"><?php
Expand All @@ -35,5 +33,6 @@
</div><!-- #content -->
</div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>
<?php
get_sidebar();
get_footer();

0 comments on commit c98f54b

Please sign in to comment.