Permalink
Browse files

removed erroneously commented php markup

  • Loading branch information...
1 parent 32f15ab commit d8837180710bbd65f311a460b5866ee2c343b5ae @eddiemachado eddiemachado committed Aug 4, 2012
Showing with 58 additions and 67 deletions.
  1. +10 −12 archive-custom_type.php
  2. +4 −6 archive.php
  3. +3 −2 footer.php
  4. +4 −2 functions.php
  5. +1 −1 header.php
  6. +10 −12 index.php
  7. +1 −1 page-custom.php
  8. +2 −4 page.php
  9. +9 −11 search.php
  10. +2 −2 single-custom_type.php
  11. +2 −2 single.php
  12. +10 −12 taxonomy-custom_cat.php
View
@@ -34,17 +34,15 @@
<?php endwhile; ?>
- <?php if (function_exists('bones_page_navi')) { // page_navi is active ?>
-
- <?php bones_page_navi(); // use the page navi function ?>
-
- <?php } else { // if it is disabled, display regular wp prev & next links ?>
- <nav class="wp-prev-next">
- <ul class="clearfix">
- <li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
- <li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', "bonestheme")) ?></li>
- </ul>
- </nav>
+ <?php if (function_exists('bones_page_navi')) { ?>
+ <?php bones_page_navi(); ?>
+ <?php } else { ?>
+ <nav class="wp-prev-next">
+ <ul class="clearfix">
+ <li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
+ <li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', "bonestheme")) ?></li>
+ </ul>
+ </nav>
<?php } ?>
<?php else : ?>
@@ -65,7 +63,7 @@
</div> <!-- end #main -->
- <?php get_sidebar(); // sidebar 1 ?>
+ <?php get_sidebar(); ?>
</div> <!-- end #inner-content -->
View
@@ -67,11 +67,9 @@
<?php endwhile; ?>
- <?php if (function_exists('bones_page_navi')) { // if experimental feature is active ?>
-
- <?php bones_page_navi(); // use the page navi function ?>
-
- <?php } else { // if it is disabled, display regular wp prev & next links ?>
+ <?php if (function_exists('bones_page_navi')) { ?>
+ <?php bones_page_navi(); ?>
+ <?php } else { ?>
<nav class="wp-prev-next">
<ul class="clearfix">
<li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
@@ -98,7 +96,7 @@
</div> <!-- end #main -->
- <?php get_sidebar(); // sidebar 1 ?>
+ <?php get_sidebar(); ?>
</div> <!-- end #inner-content -->
View
@@ -3,7 +3,7 @@
<div id="inner-footer" class="wrap clearfix">
<nav role="navigation">
- <?php bones_footer_links(); // Adjust using Menus in Wordpress Admin ?>
+ <?php bones_footer_links(); ?>
</nav>
<p class="source-org copyright">&copy; <?php echo date('Y'); ?> <?php bloginfo('name'); ?>.</p>
@@ -14,7 +14,8 @@
</div> <!-- end #container -->
- <?php wp_footer(); // js scripts are inserted using this function ?>
+ <!-- all js scripts are loaded in library/bones.php -->
+ <?php wp_footer(); ?>
</body>
View
@@ -118,10 +118,12 @@ function bones_comments($comment, $args, $depth) {
<li <?php comment_class(); ?>>
<article id="comment-<?php comment_ID(); ?>" class="clearfix">
<header class="comment-author vcard">
- <?php /*
+ <?php
+ /*
this is the new responsive optimized comment image. It used the new HTML5 data-attribute to display comment gravatars on larger screens only. What this means is that on larger posts, mobile sites don't have a ton of requests for comment images. This makes load time incredibly fast! If you'd like to change it back, just replace it with the regular wordpress gravatar call:
echo get_avatar($comment,$size='32',$default='<path_to_url>' );
- */ ?>
+ */
+ ?>
<!-- custom gravatar call -->
<?php
// create variable
View
@@ -48,7 +48,7 @@
<nav role="navigation">
- <?php bones_main_nav(); // Adjust using Menus in Wordpress Admin ?>
+ <?php bones_main_nav(); ?>
</nav>
</div> <!-- end #inner-header -->
View
@@ -34,17 +34,15 @@
<?php endwhile; ?>
- <?php if (function_exists('bones_page_navi')) { // if experimental feature is active ?>
-
- <?php bones_page_navi(); // use the page navi function ?>
-
- <?php } else { // if it is disabled, display regular wp prev & next links ?>
- <nav class="wp-prev-next">
- <ul class="clearfix">
- <li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', 'bonestheme')) ?></li>
- <li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', 'bonestheme')) ?></li>
- </ul>
- </nav>
+ <?php if (function_exists('bones_page_navi')) { ?>
+ <?php bones_page_navi(); ?>
+ <?php } else { ?>
+ <nav class="wp-prev-next">
+ <ul class="clearfix">
+ <li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
+ <li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', "bonestheme")) ?></li>
+ </ul>
+ </nav>
<?php } ?>
<?php else : ?>
@@ -65,7 +63,7 @@
</div> <!-- end #main -->
- <?php get_sidebar(); // sidebar 1 ?>
+ <?php get_sidebar(); ?>
</div> <!-- end #inner-content -->
View
@@ -58,7 +58,7 @@
</div> <!-- end #main -->
- <?php get_sidebar(); // sidebar 1 ?>
+ <?php get_sidebar(); ?>
</div> <!-- end #inner-content -->
View
@@ -32,9 +32,7 @@
</article> <!-- end article -->
- <?php endwhile; ?>
-
- <?php else : ?>
+ <?php endwhile; else : ?>
<article id="post-not-found" class="hentry clearfix">
<header class="article-header">
@@ -52,7 +50,7 @@
</div> <!-- end #main -->
- <?php get_sidebar(); // sidebar 1 ?>
+ <?php get_sidebar(); ?>
</div> <!-- end #inner-content -->
View
@@ -33,18 +33,16 @@
<?php endwhile; ?>
- <?php if (function_exists('bones_page_navi')) { // if expirimental feature is active ?>
-
- <?php bones_page_navi(); // use the page navi function ?>
-
- <?php } else { // if it is disabled, display regular wp prev & next links ?>
+ <?php if (function_exists('bones_page_navi')) { ?>
+ <?php bones_page_navi(); ?>
+ <?php } else { ?>
<nav class="wp-prev-next">
- <ul class="clearfix">
- <li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
- <li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', "bonestheme")) ?></li>
- </ul>
+ <ul class="clearfix">
+ <li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
+ <li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', "bonestheme")) ?></li>
+ </ul>
</nav>
- <?php } ?>
+ <?php } ?>
<?php else : ?>
@@ -64,7 +62,7 @@
</div> <!-- end #main -->
- <?php get_sidebar(); // sidebar 1 ?>
+ <?php get_sidebar(); ?>
</div> <!-- end #inner-content -->
View
@@ -45,7 +45,7 @@
</footer> <!-- end article footer -->
- <?php comments_template(); // you may not need this ?>
+ <?php comments_template(); ?>
</article> <!-- end article -->
@@ -69,7 +69,7 @@
</div> <!-- end #main -->
- <?php get_sidebar(); // sidebar 1 ?>
+ <?php get_sidebar(); ?>
</div> <!-- end #inner-content -->
View
@@ -28,7 +28,7 @@
</footer> <!-- end article footer -->
- <?php comments_template(); // comments should go inside the article element ?>
+ <?php comments_template(); ?>
</article> <!-- end article -->
@@ -52,7 +52,7 @@
</div> <!-- end #main -->
- <?php get_sidebar(); // sidebar 1 ?>
+ <?php get_sidebar(); ?>
</div> <!-- end #inner-content -->
View
@@ -49,17 +49,15 @@
<?php endwhile; ?>
- <?php if (function_exists('bones_page_navi')) { // if expirimental feature is active ?>
-
- <?php bones_page_navi(); // use the page navi function ?>
-
- <?php } else { // if it is disabled, display regular wp prev & next links ?>
- <nav class="wp-prev-next">
- <ul class="clearfix">
- <li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
- <li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', "bonestheme")) ?></li>
- </ul>
- </nav>
+ <?php if (function_exists('bones_page_navi')) { ?>
+ <?php bones_page_navi(); ?>
+ <?php } else { ?>
+ <nav class="wp-prev-next">
+ <ul class="clearfix">
+ <li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
+ <li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', "bonestheme")) ?></li>
+ </ul>
+ </nav>
<?php } ?>
<?php else : ?>
@@ -80,7 +78,7 @@
</div> <!-- end #main -->
- <?php get_sidebar(); // sidebar 1 ?>
+ <?php get_sidebar(); ?>
</div> <!-- end #inner-content -->

0 comments on commit d883718

Please sign in to comment.