Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Commit

Permalink
Merge pull request #617 from colin-marshall/class-fixes
Browse files Browse the repository at this point in the history
Fixed more instances of duplicate class attributes in templates
  • Loading branch information
olefredrik committed Dec 12, 2015
2 parents 11ac0b2 + c1023b1 commit fad854b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion content.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

?>

<div class="blogpost-entry" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div id="post-<?php the_ID(); ?>" <?php post_class('blogpost-entry'); ?>>
<header>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<?php foundationpress_entry_meta(); ?>
Expand Down
2 changes: 1 addition & 1 deletion page.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<?php do_action( 'foundationpress_before_content' ); ?>
<?php while ( have_posts() ) : the_post(); ?>
<article class="main-content" <?php post_class() ?> id="post-<?php the_ID(); ?>">
<article <?php post_class('main-content') ?> id="post-<?php the_ID(); ?>">
<header>
<h1 class="entry-title"><?php the_title(); ?></h1>
</header>
Expand Down
2 changes: 1 addition & 1 deletion templates/page-full-width.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<?php do_action( 'foundationpress_before_content' ); ?>
<?php while ( have_posts() ) : the_post(); ?>
<article class="main-content" <?php post_class() ?> id="post-<?php the_ID(); ?>">
<article <?php post_class('main-content') ?> id="post-<?php the_ID(); ?>">
<header>
<h1 class="entry-title"><?php the_title(); ?></h1>
</header>
Expand Down
2 changes: 1 addition & 1 deletion templates/page-sidebar-left.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<?php do_action( 'foundationpress_before_content' ); ?>
<?php while ( have_posts() ) : the_post(); ?>
<article class="main-content" <?php post_class() ?> id="post-<?php the_ID(); ?>">
<article <?php post_class('main-content') ?> id="post-<?php the_ID(); ?>">
<header>
<h1 class="entry-title"><?php the_title(); ?></h1>
</header>
Expand Down

0 comments on commit fad854b

Please sign in to comment.