Permalink
Browse files

Add more-link class to the more link

  • Loading branch information...
1 parent c491475 commit 08fa47368448cbcd754112e37a4c0e9d9cacb6ec @jayj committed Jun 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 section-recentposts.php
View
@@ -83,7 +83,7 @@
<div class="entry-summary">
<?php
- $more_link = apply_filters( 'excerpt_more', '...' ) . '<br /> <a href="' . get_permalink() . '">' . __( 'Continue reading <span class="meta-nav">&raquo;</span>', 'cakifo' ) . '</a>';
+ $more_link = apply_filters( 'excerpt_more', '...' ) . '<br /> <a href="' . get_permalink() . '" class="more-link">' . __( 'Continue reading <span class="meta-nav">&raquo;</span>', 'cakifo' ) . '</a>';
echo wp_trim_words( get_the_excerpt(), 20, $more_link );
?>

0 comments on commit 08fa473

Please sign in to comment.