Skip to content

Commit 0973703

Browse files
committed
Fixes related Posts functions
Fixes function not showing "No related posts Yet!" message.
1 parent c8cc289 commit 0973703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/bones.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ function bones_related_posts() {
282282
<li class="related_post"><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
283283
<?php endforeach; }
284284
else { ?>
285-
<li class="no_related_post">No Related Posts Yet!</li>
285+
<?php echo '<li class="no_related_post">No Related Posts Yet!</li>'; ?>
286286
<?php }
287287
}
288288
wp_reset_query();

0 commit comments

Comments
 (0)