Browse Source

removing comments in HTML

Eddie Machado 12 năm trước cách đây
mục cha
commit
28247a9bba
12 tập tin đã thay đổi với 78 bổ sung và 78 xóa
  1. 8 8
      404.php
  2. 7 7
      archive-custom_type.php
  3. 7 7
      archive.php
  4. 5 5
      footer.php
  5. 7 7
      index.php
  6. 7 7
      page-custom.php
  7. 7 7
      page.php
  8. 7 7
      search.php
  9. 1 1
      sidebar.php
  10. 8 8
      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> <!-- 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> <!-- end article section -->
+							</section>
 
 							<section class="search">
 
 									<p><?php get_search_form(); ?></p>
 
-							</section> <!-- end search section -->
+							</section>
 
 							<footer class="article-footer">
 
 									<p><?php _e( 'This is the 404.php template.', 'bonestheme' ); ?></p>
 
-							</footer> <!-- end article footer -->
+							</footer>
 
-						</article> <!-- end article -->
+						</article>
 
-					</div> <!-- end #main -->
+					</div>
 
-				</div> <!-- end #inner-content -->
+				</div>
 
-			</div> <!-- 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> <!-- end article header -->
+								</header>
 
 								<section class="entry-content clearfix">
 
 									<?php the_excerpt(); ?>
 
-								</section> <!-- end article section -->
+								</section>
 
 								<footer class="article-footer">
 
-								</footer> <!-- end article footer -->
+								</footer>
 
-							</article> <!-- end article -->
+							</article>
 
 							<?php endwhile; ?>
 
@@ -62,12 +62,12 @@
 
 							<?php endif; ?>
 
-						</div> <!-- end #main -->
+						</div>
 
 						<?php get_sidebar(); ?>
 
-								</div> <!-- end #inner-content -->
+								</div>
 
-			</div> <!-- 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> <!-- end article header -->
+								</header>
 
 								<section class="entry-content clearfix">
 
@@ -60,13 +60,13 @@
 
 									<?php the_excerpt(); ?>
 
-								</section> <!-- end article section -->
+								</section>
 
 								<footer class="article-footer">
 
-								</footer> <!-- end article footer -->
+								</footer>
 
-							</article> <!-- end article -->
+							</article>
 
 							<?php endwhile; ?>
 
@@ -97,12 +97,12 @@
 
 							<?php endif; ?>
 
-						</div> <!-- end #main -->
+						</div>
 
 						<?php get_sidebar(); ?>
 
-								</div> <!-- end #inner-content -->
+								</div>
 
-			</div> <!-- end #content -->
+			</div>
 
 <?php get_footer(); ?>

+ 5 - 5
footer.php

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

+ 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> <!-- end article header -->
+								</header>
 
 								<section class="entry-content clearfix">
 									<?php the_content(); ?>
-								</section> <!-- end article section -->
+								</section>
 
 								<footer class="article-footer">
 									<p class="tags"><?php the_tags( '<span class="tags-title">' . __( 'Tags:', 'bonestheme' ) . '</span> ', ', ', '' ); ?></p>
 
-								</footer> <!-- end article footer -->
+								</footer>
 
 								<?php // comments_template(); // uncomment if you want to use them ?>
 
-							</article> <!-- end article -->
+							</article>
 
 							<?php endwhile; ?>
 
@@ -61,12 +61,12 @@
 
 							<?php endif; ?>
 
-						</div> <!-- end #main -->
+						</div>
 
 						<?php get_sidebar(); ?>
 
-				</div> <!-- end #inner-content -->
+				</div>
 
-			</div> <!-- end #content -->
+			</div>
 
 <?php get_footer(); ?>

+ 7 - 7
page-custom.php

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

+ 7 - 7
page.php

@@ -18,20 +18,20 @@
 									?></p>
 
 
-								</header> <!-- end article header -->
+								</header>
 
 								<section class="entry-content clearfix" itemprop="articleBody">
 									<?php the_content(); ?>
-							</section> <!-- end article section -->
+							</section>
 
 								<footer class="article-footer">
 									<?php the_tags( '<span class="tags">' . __( 'Tags:', 'bonestheme' ) . '</span> ', ', ', '' ); ?>
 
-								</footer> <!-- end article footer -->
+								</footer>
 
 								<?php comments_template(); ?>
 
-							</article> <!-- end article -->
+							</article>
 
 							<?php endwhile; else : ?>
 
@@ -49,12 +49,12 @@
 
 							<?php endif; ?>
 
-						</div> <!-- end #main -->
+						</div>
 
 						<?php get_sidebar(); ?>
 
-				</div> <!-- end #inner-content -->
+				</div>
 
-			</div> <!-- 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> <!-- end article header -->
+								</header>
 
 								<section class="entry-content">
 										<?php the_excerpt( '<span class="read-more">' . __( 'Read more &raquo;', 'bonestheme' ) . '</span>' ); ?>
 
-								</section> <!-- end article section -->
+								</section>
 
 								<footer class="article-footer">
 
-								</footer> <!-- end article footer -->
+								</footer>
 
-							</article> <!-- end article -->
+							</article>
 
 						<?php endwhile; ?>
 
@@ -60,12 +60,12 @@
 
 							<?php endif; ?>
 
-						</div> <!-- end #main -->
+						</div>
 
 							<?php get_sidebar(); ?>
 
-					</div> <!-- end #inner-content -->
+					</div>
 
-			</div> <!-- end #content -->
+			</div>
 
 <?php get_footer(); ?>

+ 1 - 1
sidebar.php

@@ -6,7 +6,7 @@
 
 					<?php else : ?>
 
-						<!-- This content shows up if there are no widgets defined in the backend. -->
+						<?php // This content shows up if there are no widgets defined in the backend. ?>
 
 						<div class="alert alert-help">
 							<p><?php _e( 'Please activate some Widgets.', 'bonestheme' );  ?></p>

+ 8 - 8
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> <!-- end article header -->
+								</header>
 
 								<section class="entry-content clearfix">
 
 									<?php the_content(); ?>
 
-								</section> <!-- end article section -->
+								</section>
 
-								<footer class="article-header">
+								<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> <!-- end article footer -->
+								</footer>
 
 								<?php comments_template(); ?>
 
-							</article> <!-- end article -->
+							</article>
 
 							<?php endwhile; ?>
 
@@ -67,12 +67,12 @@ single-bookmarks.php
 
 							<?php endif; ?>
 
-						</div> <!-- end #main -->
+						</div>
 
 						<?php get_sidebar(); ?>
 
-				</div> <!-- end #inner-content -->
+				</div>
 
-			</div> <!-- 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> <!-- end article header -->
+								</header>
 
 								<section class="entry-content clearfix" itemprop="articleBody">
 									<?php the_content(); ?>
-								</section> <!-- end article section -->
+								</section>
 
 								<footer class="article-footer">
 									<?php the_tags( '<p class="tags"><span class="tags-title">' . __( 'Tags:', 'bonestheme' ) . '</span> ', ', ', '</p>' ); ?>
 
-								</footer> <!-- end article footer -->
+								</footer>
 
 								<?php comments_template(); ?>
 
-							</article> <!-- end article -->
+							</article>
 
 						<?php endwhile; ?>
 
@@ -50,12 +50,12 @@
 
 						<?php endif; ?>
 
-					</div> <!-- end #main -->
+					</div>
 
 					<?php get_sidebar(); ?>
 
-				</div> <!-- end #inner-content -->
+				</div>
 
-			</div> <!-- 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> <!-- end article header -->
+								</header>
 
 								<section class="entry-content">
 									<?php the_excerpt( '<span class="read-more">' . __( 'Read More &raquo;', 'bonestheme' ) . '</span>' ); ?>
 
-								</section> <!-- end article section -->
+								</section>
 
 								<footer class="article-footer">
 
-								</footer> <!-- end article footer -->
+								</footer>
 
-							</article> <!-- end article -->
+							</article>
 
 							<?php endwhile; ?>
 
@@ -76,12 +76,12 @@ taxonomy-shoes.php
 
 							<?php endif; ?>
 
-						</div> <!-- end #main -->
+						</div>
 
 						<?php get_sidebar(); ?>
 
-				</div> <!-- end #inner-content -->
+				</div>
 
-			</div> <!-- end #content -->
+			</div>
 
 <?php get_footer(); ?>