Răsfoiți Sursa

Merge pull request #150 from nauweb/master

Small fix to "Related Posts" function
Eddie Machado 13 ani în urmă
părinte
comite
3027a449df
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      library/bones.php

+ 1 - 1
library/bones.php

@@ -282,7 +282,7 @@ function bones_related_posts() {
 	           	<li class="related_post"><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
 	        <?php endforeach; } 
 	    else { ?>
-            <li class="no_related_post">No Related Posts Yet!</li>
+            <?php echo '<li class="no_related_post">No Related Posts Yet!</li>'; ?>
 		<?php }
 	}
 	wp_reset_query();