Explorar el Código

added class for Related Posts and readability

eddiemachado hace 13 años
padre
commit
c3973629c9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      library/bones.php

+ 1 - 1
library/bones.php

@@ -290,7 +290,7 @@ function bones_related_posts() {
         $related_posts = get_posts($args);
         $related_posts = get_posts($args);
         if($related_posts) {
         if($related_posts) {
         	foreach ($related_posts as $post) : setup_postdata($post); ?>
         	foreach ($related_posts as $post) : setup_postdata($post); ?>
-	           	<li class="related_post"><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
+	           	<li class="related_post"><a class="entry-unrelated" href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
 	        <?php endforeach; }
 	        <?php endforeach; }
 	    else { ?>
 	    else { ?>
             <li class="no_related_post">No Related Posts Yet!</li>
             <li class="no_related_post">No Related Posts Yet!</li>