瀏覽代碼

Remove ending div markers

Related to issue #486
Philippe Vaucher 12 年之前
父節點
當前提交
d738fa524c
共有 12 個文件被更改,包括 77 次插入77 次删除
  1. 8 8
      404.php
  2. 7 7
      archive-custom_type.php
  3. 7 7
      archive.php
  4. 4 4
      footer.php
  5. 2 2
      header.php
  6. 7 7
      index.php
  7. 7 7
      page-custom.php
  8. 7 7
      page.php
  9. 7 7
      search.php
  10. 7 7
      single-custom_type.php
  11. 7 7
      single.php
  12. 7 7
      taxonomy-custom_cat.php

+ 8 - 8
404.php

@@ -12,32 +12,32 @@
 
 								<h1><?php _e( 'Epic 404 - Article Not Found', 'bonestheme' ); ?></h1>
 
-							</header> <?php // end article header ?>
+							</header>
 
 							<section class="entry-content">
 
 								<p><?php _e( 'The article you were looking for was not found, but maybe try looking again!', 'bonestheme' ); ?></p>
 
-							</section> <?php // end article section ?>
+							</section>
 
 							<section class="search">
 
 									<p><?php get_search_form(); ?></p>
 
-							</section> <?php // end search section ?>
+							</section>
 
 							<footer class="article-footer">
 
 									<p><?php _e( 'This is the 404.php template.', 'bonestheme' ); ?></p>
 
-							</footer> <?php // end article footer ?>
+							</footer>
 
-						</article> <?php // end article ?>
+						</article>
 
-					</div> <?php // end #main ?>
+					</div>
 
-				</div> <?php // end #inner-content ?>
+				</div>
 
-			</div> <?php // end #content ?>
+			</div>
 
 <?php get_footer(); ?>

+ 7 - 7
archive-custom_type.php

@@ -19,19 +19,19 @@
 										printf( __( 'Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span>.', 'bonestheme' ), get_the_time( 'Y-m-j' ), get_the_time( __( 'F jS, Y', 'bonestheme' ) ), bones_get_the_author_posts_link());
 									?></p>
 
-								</header> <?php // end article header ?>
+								</header>
 
 								<section class="entry-content clearfix">
 
 									<?php the_excerpt(); ?>
 
-								</section> <?php // end article section ?>
+								</section>
 
 								<footer class="article-footer">
 
-								</footer> <?php // end article footer ?>
+								</footer>
 
-							</article> <?php // end article ?>
+							</article>
 
 							<?php endwhile; ?>
 
@@ -62,12 +62,12 @@
 
 							<?php endif; ?>
 
-						</div> <?php // end #main ?>
+						</div>
 
 						<?php get_sidebar(); ?>
 
-								</div> <?php // end #inner-content ?>
+								</div>
 
-			</div> <?php // end #content ?>
+			</div>
 
 <?php get_footer(); ?>

+ 7 - 7
archive.php

@@ -52,7 +52,7 @@
 										printf(__( 'Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span> <span class="amp">&</span> filed under %4$s.', 'bonestheme' ), get_the_time('Y-m-j'), get_the_time(__( 'F jS, Y', 'bonestheme' )), bones_get_the_author_posts_link(), get_the_category_list(', '));
 									?></p>
 
-								</header> <?php // end article header ?>
+								</header>
 
 								<section class="entry-content clearfix">
 
@@ -60,13 +60,13 @@
 
 									<?php the_excerpt(); ?>
 
-								</section> <?php // end article section ?>
+								</section>
 
 								<footer class="article-footer">
 
-								</footer> <?php // end article footer ?>
+								</footer>
 
-							</article> <?php // end article ?>
+							</article>
 
 							<?php endwhile; ?>
 
@@ -97,12 +97,12 @@
 
 							<?php endif; ?>
 
-						</div> <?php // end #main ?>
+						</div>
 
 						<?php get_sidebar(); ?>
 
-								</div> <?php // end #inner-content ?>
+								</div>
 
-			</div> <?php // end #content ?>
+			</div>
 
 <?php get_footer(); ?>

+ 4 - 4
footer.php

@@ -8,15 +8,15 @@
 
 					<p class="source-org copyright">&copy; <?php echo date('Y'); ?> <?php bloginfo( 'name' ); ?>.</p>
 
-				</div> <?php // end #inner-footer ?>
+				</div>
 
-			</footer> <?php // end footer ?>
+			</footer>
 
-		</div> <?php // end #container ?>
+		</div>
 
 		<?php // all js scripts are loaded in library/bones.php ?>
 		<?php wp_footer(); ?>
 
 	</body>
 
-</html> <?php // end page. what a ride! ?>
+</html>

+ 2 - 2
header.php

@@ -58,6 +58,6 @@
 						<?php bones_main_nav(); ?>
 					</nav>
 
-				</div> <?php // end #inner-header ?>
+				</div>
 
-			</header> <?php // end header ?>
+			</header>

+ 7 - 7
index.php

@@ -17,20 +17,20 @@
 										printf( __( 'Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span> <span class="amp">&</span> filed under %4$s.', 'bonestheme' ), get_the_time('Y-m-j'), get_the_time(get_option('date_format')), bones_get_the_author_posts_link(), get_the_category_list(', '));
 									?></p>
 
-								</header> <?php // end article header ?>
+								</header>
 
 								<section class="entry-content clearfix">
 									<?php the_content(); ?>
-								</section> <?php // end article section ?>
+								</section>
 
 								<footer class="article-footer">
 									<p class="tags"><?php the_tags( '<span class="tags-title">' . __( 'Tags:', 'bonestheme' ) . '</span> ', ', ', '' ); ?></p>
 
-								</footer> <?php // end article footer ?>
+								</footer>
 
 								<?php // comments_template(); // uncomment if you want to use them ?>
 
-							</article> <?php // end article ?>
+							</article>
 
 							<?php endwhile; ?>
 
@@ -61,12 +61,12 @@
 
 							<?php endif; ?>
 
-						</div> <?php // end #main ?>
+						</div>
 
 						<?php get_sidebar(); ?>
 
-				</div> <?php // end #inner-content ?>
+				</div>
 
-			</div> <?php // end #content ?>
+			</div>
 
 <?php get_footer(); ?>

+ 7 - 7
page-custom.php

@@ -24,20 +24,20 @@ Template Name: Custom Page Example
 									?></p>
 
 
-								</header> <?php // end article header ?>
+								</header>
 
 								<section class="entry-content clearfix" itemprop="articleBody">
 									<?php the_content(); ?>
-								</section> <?php // end article section ?>
+								</section>
 
 								<footer class="article-footer">
 									<p class="clearfix"><?php the_tags( '<span class="tags">' . __( 'Tags:', 'bonestheme' ) . '</span> ', ', ', '' ); ?></p>
 
-								</footer> <?php // end article footer ?>
+								</footer>
 
 								<?php comments_template(); ?>
 
-							</article> <?php // end article ?>
+							</article>
 
 							<?php endwhile; else : ?>
 
@@ -55,12 +55,12 @@ Template Name: Custom Page Example
 
 							<?php endif; ?>
 
-						</div> <?php // end #main ?>
+						</div>
 
 						<?php get_sidebar(); ?>
 
-				</div> <?php // end #inner-content ?>
+				</div>
 
-			</div> <?php // end #content ?>
+			</div>
 
 <?php get_footer(); ?>

+ 7 - 7
page.php

@@ -18,20 +18,20 @@
 									?></p>
 
 
-								</header> <?php // end article header ?>
+								</header>
 
 								<section class="entry-content clearfix" itemprop="articleBody">
 									<?php the_content(); ?>
-							</section> <?php // end article section ?>
+							</section>
 
 								<footer class="article-footer">
 									<?php the_tags( '<span class="tags">' . __( 'Tags:', 'bonestheme' ) . '</span> ', ', ', '' ); ?>
 
-								</footer> <?php // end article footer ?>
+								</footer>
 
 								<?php comments_template(); ?>
 
-							</article> <?php // end article ?>
+							</article>
 
 							<?php endwhile; else : ?>
 
@@ -49,12 +49,12 @@
 
 							<?php endif; ?>
 
-						</div> <?php // end #main ?>
+						</div>
 
 						<?php get_sidebar(); ?>
 
-				</div> <?php // end #inner-content ?>
+				</div>
 
-			</div> <?php // end #content ?>
+			</div>
 
 <?php get_footer(); ?>

+ 7 - 7
search.php

@@ -18,18 +18,18 @@
 										printf( __( 'Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span> <span class="amp">&</span> filed under %4$s.', 'bonestheme' ), get_the_time( 'Y-m-j' ), get_the_time( __( 'F jS, Y', 'bonestheme' ) ), bones_get_the_author_posts_link(), get_the_category_list(', ') );
 									?></p>
 
-								</header> <?php // end article header ?>
+								</header>
 
 								<section class="entry-content">
 										<?php the_excerpt( '<span class="read-more">' . __( 'Read more &raquo;', 'bonestheme' ) . '</span>' ); ?>
 
-								</section> <?php // end article section ?>
+								</section>
 
 								<footer class="article-footer">
 
-								</footer> <?php // end article footer ?>
+								</footer>
 
-							</article> <?php // end article ?>
+							</article>
 
 						<?php endwhile; ?>
 
@@ -60,12 +60,12 @@
 
 							<?php endif; ?>
 
-						</div> <?php // end #main ?>
+						</div>
 
 							<?php get_sidebar(); ?>
 
-					</div> <?php // end #inner-content ?>
+					</div>
 
-			</div> <?php // end #content ?>
+			</div>
 
 <?php get_footer(); ?>

+ 7 - 7
single-custom_type.php

@@ -32,22 +32,22 @@ single-bookmarks.php
 										printf( __( 'Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span> <span class="amp">&</span> filed under %4$s.', 'bonestheme' ), get_the_time( 'Y-m-j' ), get_the_time( __( 'F jS, Y', 'bonestheme' ) ), bones_get_the_author_posts_link(), get_the_term_list( $post->ID, 'custom_cat', ' ', ', ', '' ) );
 									?></p>
 
-								</header> <?php // end article header ?>
+								</header>
 
 								<section class="entry-content clearfix">
 
 									<?php the_content(); ?>
 
-								</section> <?php // end article section ?>
+								</section>
 
 								<footer class="article-footer">
 									<p class="tags"><?php echo get_the_term_list( get_the_ID(), 'custom_tag', '<span class="tags-title">' . __( 'Custom Tags:', 'bonestheme' ) . '</span> ', ', ' ) ?></p>
 
-								</footer> <?php // end article footer ?>
+								</footer>
 
 								<?php comments_template(); ?>
 
-							</article> <?php // end article ?>
+							</article>
 
 							<?php endwhile; ?>
 
@@ -67,12 +67,12 @@ single-bookmarks.php
 
 							<?php endif; ?>
 
-						</div> <?php // end #main ?>
+						</div>
 
 						<?php get_sidebar(); ?>
 
-				</div> <?php // end #inner-content ?>
+				</div>
 
-			</div> <?php // end #content ?>
+			</div>
 
 <?php get_footer(); ?>

+ 7 - 7
single.php

@@ -17,20 +17,20 @@
 										printf( __( 'Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span> <span class="amp">&amp;</span> filed under %4$s.', 'bonestheme' ), get_the_time( 'Y-m-j' ), get_the_time( get_option('date_format')), bones_get_the_author_posts_link(), get_the_category_list(', ') );
 									?></p>
 
-								</header> <?php // end article header ?>
+								</header>
 
 								<section class="entry-content clearfix" itemprop="articleBody">
 									<?php the_content(); ?>
-								</section> <?php // end article section ?>
+								</section>
 
 								<footer class="article-footer">
 									<?php the_tags( '<p class="tags"><span class="tags-title">' . __( 'Tags:', 'bonestheme' ) . '</span> ', ', ', '</p>' ); ?>
 
-								</footer> <?php // end article footer ?>
+								</footer>
 
 								<?php comments_template(); ?>
 
-							</article> <?php // end article ?>
+							</article>
 
 						<?php endwhile; ?>
 
@@ -50,12 +50,12 @@
 
 						<?php endif; ?>
 
-					</div> <?php // end #main ?>
+					</div>
 
 					<?php get_sidebar(); ?>
 
-				</div> <?php // end #inner-content ?>
+				</div>
 
-			</div> <?php // end #content ?>
+			</div>
 
 <?php get_footer(); ?>

+ 7 - 7
taxonomy-custom_cat.php

@@ -34,18 +34,18 @@ taxonomy-shoes.php
 										printf( __( 'Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span> <span class="amp">&</span> filed under %4$s.', 'bonestheme' ), get_the_time( 'Y-m-j' ), get_the_time( __( 'F jS, Y', 'bonestheme' )), bones_get_the_author_posts_link(), get_the_term_list( get_the_ID(), 'custom_cat', "" ) );
 									?></p>
 
-								</header> <?php // end article header ?>
+								</header>
 
 								<section class="entry-content">
 									<?php the_excerpt( '<span class="read-more">' . __( 'Read More &raquo;', 'bonestheme' ) . '</span>' ); ?>
 
-								</section> <?php // end article section ?>
+								</section>
 
 								<footer class="article-footer">
 
-								</footer> <?php // end article footer ?>
+								</footer>
 
-							</article> <?php // end article ?>
+							</article>
 
 							<?php endwhile; ?>
 
@@ -76,12 +76,12 @@ taxonomy-shoes.php
 
 							<?php endif; ?>
 
-						</div> <?php // end #main ?>
+						</div>
 
 						<?php get_sidebar(); ?>
 
-				</div> <?php // end #inner-content ?>
+				</div>
 
-			</div> <?php // end #content ?>
+			</div>
 
 <?php get_footer(); ?>