Przeglądaj źródła

Fixes related Posts functions

Fixes function not showing "No related posts Yet!" message.
Bruno Brant 13 lat temu
rodzic
commit
0973703772
1 zmienionych plików z 1 dodań i 1 usunięć
  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();