Skip to content

Commit d738fa5

Browse files
committed
Remove ending div markers
Related to issue eddiemachado-zz#486
1 parent 448da9f commit d738fa5

12 files changed

Lines changed: 77 additions & 77 deletions

404.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,32 @@
1212

1313
<h1><?php _e( 'Epic 404 - Article Not Found', 'bonestheme' ); ?></h1>
1414

15-
</header> <?php // end article header ?>
15+
</header>
1616

1717
<section class="entry-content">
1818

1919
<p><?php _e( 'The article you were looking for was not found, but maybe try looking again!', 'bonestheme' ); ?></p>
2020

21-
</section> <?php // end article section ?>
21+
</section>
2222

2323
<section class="search">
2424

2525
<p><?php get_search_form(); ?></p>
2626

27-
</section> <?php // end search section ?>
27+
</section>
2828

2929
<footer class="article-footer">
3030

3131
<p><?php _e( 'This is the 404.php template.', 'bonestheme' ); ?></p>
3232

33-
</footer> <?php // end article footer ?>
33+
</footer>
3434

35-
</article> <?php // end article ?>
35+
</article>
3636

37-
</div> <?php // end #main ?>
37+
</div>
3838

39-
</div> <?php // end #inner-content ?>
39+
</div>
4040

41-
</div> <?php // end #content ?>
41+
</div>
4242

4343
<?php get_footer(); ?>

archive-custom_type.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@
1919
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());
2020
?></p>
2121

22-
</header> <?php // end article header ?>
22+
</header>
2323

2424
<section class="entry-content clearfix">
2525

2626
<?php the_excerpt(); ?>
2727

28-
</section> <?php // end article section ?>
28+
</section>
2929

3030
<footer class="article-footer">
3131

32-
</footer> <?php // end article footer ?>
32+
</footer>
3333

34-
</article> <?php // end article ?>
34+
</article>
3535

3636
<?php endwhile; ?>
3737

@@ -62,12 +62,12 @@
6262

6363
<?php endif; ?>
6464

65-
</div> <?php // end #main ?>
65+
</div>
6666

6767
<?php get_sidebar(); ?>
6868

69-
</div> <?php // end #inner-content ?>
69+
</div>
7070

71-
</div> <?php // end #content ?>
71+
</div>
7272

7373
<?php get_footer(); ?>

archive.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,21 @@
5252
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(', '));
5353
?></p>
5454

55-
</header> <?php // end article header ?>
55+
</header>
5656

5757
<section class="entry-content clearfix">
5858

5959
<?php the_post_thumbnail( 'bones-thumb-300' ); ?>
6060

6161
<?php the_excerpt(); ?>
6262

63-
</section> <?php // end article section ?>
63+
</section>
6464

6565
<footer class="article-footer">
6666

67-
</footer> <?php // end article footer ?>
67+
</footer>
6868

69-
</article> <?php // end article ?>
69+
</article>
7070

7171
<?php endwhile; ?>
7272

@@ -97,12 +97,12 @@
9797

9898
<?php endif; ?>
9999

100-
</div> <?php // end #main ?>
100+
</div>
101101

102102
<?php get_sidebar(); ?>
103103

104-
</div> <?php // end #inner-content ?>
104+
</div>
105105

106-
</div> <?php // end #content ?>
106+
</div>
107107

108108
<?php get_footer(); ?>

footer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88

99
<p class="source-org copyright">&copy; <?php echo date('Y'); ?> <?php bloginfo( 'name' ); ?>.</p>
1010

11-
</div> <?php // end #inner-footer ?>
11+
</div>
1212

13-
</footer> <?php // end footer ?>
13+
</footer>
1414

15-
</div> <?php // end #container ?>
15+
</div>
1616

1717
<?php // all js scripts are loaded in library/bones.php ?>
1818
<?php wp_footer(); ?>
1919

2020
</body>
2121

22-
</html> <?php // end page. what a ride! ?>
22+
</html>

header.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@
5858
<?php bones_main_nav(); ?>
5959
</nav>
6060

61-
</div> <?php // end #inner-header ?>
61+
</div>
6262

63-
</header> <?php // end header ?>
63+
</header>

index.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@
1717
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(', '));
1818
?></p>
1919

20-
</header> <?php // end article header ?>
20+
</header>
2121

2222
<section class="entry-content clearfix">
2323
<?php the_content(); ?>
24-
</section> <?php // end article section ?>
24+
</section>
2525

2626
<footer class="article-footer">
2727
<p class="tags"><?php the_tags( '<span class="tags-title">' . __( 'Tags:', 'bonestheme' ) . '</span> ', ', ', '' ); ?></p>
2828

29-
</footer> <?php // end article footer ?>
29+
</footer>
3030

3131
<?php // comments_template(); // uncomment if you want to use them ?>
3232

33-
</article> <?php // end article ?>
33+
</article>
3434

3535
<?php endwhile; ?>
3636

@@ -61,12 +61,12 @@
6161

6262
<?php endif; ?>
6363

64-
</div> <?php // end #main ?>
64+
</div>
6565

6666
<?php get_sidebar(); ?>
6767

68-
</div> <?php // end #inner-content ?>
68+
</div>
6969

70-
</div> <?php // end #content ?>
70+
</div>
7171

7272
<?php get_footer(); ?>

page-custom.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,20 @@
2424
?></p>
2525

2626

27-
</header> <?php // end article header ?>
27+
</header>
2828

2929
<section class="entry-content clearfix" itemprop="articleBody">
3030
<?php the_content(); ?>
31-
</section> <?php // end article section ?>
31+
</section>
3232

3333
<footer class="article-footer">
3434
<p class="clearfix"><?php the_tags( '<span class="tags">' . __( 'Tags:', 'bonestheme' ) . '</span> ', ', ', '' ); ?></p>
3535

36-
</footer> <?php // end article footer ?>
36+
</footer>
3737

3838
<?php comments_template(); ?>
3939

40-
</article> <?php // end article ?>
40+
</article>
4141

4242
<?php endwhile; else : ?>
4343

@@ -55,12 +55,12 @@
5555

5656
<?php endif; ?>
5757

58-
</div> <?php // end #main ?>
58+
</div>
5959

6060
<?php get_sidebar(); ?>
6161

62-
</div> <?php // end #inner-content ?>
62+
</div>
6363

64-
</div> <?php // end #content ?>
64+
</div>
6565

6666
<?php get_footer(); ?>

page.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@
1818
?></p>
1919

2020

21-
</header> <?php // end article header ?>
21+
</header>
2222

2323
<section class="entry-content clearfix" itemprop="articleBody">
2424
<?php the_content(); ?>
25-
</section> <?php // end article section ?>
25+
</section>
2626

2727
<footer class="article-footer">
2828
<?php the_tags( '<span class="tags">' . __( 'Tags:', 'bonestheme' ) . '</span> ', ', ', '' ); ?>
2929

30-
</footer> <?php // end article footer ?>
30+
</footer>
3131

3232
<?php comments_template(); ?>
3333

34-
</article> <?php // end article ?>
34+
</article>
3535

3636
<?php endwhile; else : ?>
3737

@@ -49,12 +49,12 @@
4949

5050
<?php endif; ?>
5151

52-
</div> <?php // end #main ?>
52+
</div>
5353

5454
<?php get_sidebar(); ?>
5555

56-
</div> <?php // end #inner-content ?>
56+
</div>
5757

58-
</div> <?php // end #content ?>
58+
</div>
5959

6060
<?php get_footer(); ?>

search.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@
1818
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(', ') );
1919
?></p>
2020

21-
</header> <?php // end article header ?>
21+
</header>
2222

2323
<section class="entry-content">
2424
<?php the_excerpt( '<span class="read-more">' . __( 'Read more &raquo;', 'bonestheme' ) . '</span>' ); ?>
2525

26-
</section> <?php // end article section ?>
26+
</section>
2727

2828
<footer class="article-footer">
2929

30-
</footer> <?php // end article footer ?>
30+
</footer>
3131

32-
</article> <?php // end article ?>
32+
</article>
3333

3434
<?php endwhile; ?>
3535

@@ -60,12 +60,12 @@
6060

6161
<?php endif; ?>
6262

63-
</div> <?php // end #main ?>
63+
</div>
6464

6565
<?php get_sidebar(); ?>
6666

67-
</div> <?php // end #inner-content ?>
67+
</div>
6868

69-
</div> <?php // end #content ?>
69+
</div>
7070

7171
<?php get_footer(); ?>

single-custom_type.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,22 @@
3232
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', ' ', ', ', '' ) );
3333
?></p>
3434

35-
</header> <?php // end article header ?>
35+
</header>
3636

3737
<section class="entry-content clearfix">
3838

3939
<?php the_content(); ?>
4040

41-
</section> <?php // end article section ?>
41+
</section>
4242

4343
<footer class="article-footer">
4444
<p class="tags"><?php echo get_the_term_list( get_the_ID(), 'custom_tag', '<span class="tags-title">' . __( 'Custom Tags:', 'bonestheme' ) . '</span> ', ', ' ) ?></p>
4545

46-
</footer> <?php // end article footer ?>
46+
</footer>
4747

4848
<?php comments_template(); ?>
4949

50-
</article> <?php // end article ?>
50+
</article>
5151

5252
<?php endwhile; ?>
5353

@@ -67,12 +67,12 @@
6767

6868
<?php endif; ?>
6969

70-
</div> <?php // end #main ?>
70+
</div>
7171

7272
<?php get_sidebar(); ?>
7373

74-
</div> <?php // end #inner-content ?>
74+
</div>
7575

76-
</div> <?php // end #content ?>
76+
</div>
7777

7878
<?php get_footer(); ?>

0 commit comments

Comments
 (0)