Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
Add more-link class to the more link
Browse files Browse the repository at this point in the history
  • Loading branch information
jayj committed Jun 22, 2012
1 parent c491475 commit 08fa473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion section-recentposts.php
Expand Up @@ -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 );
?>
Expand Down

0 comments on commit 08fa473

Please sign in to comment.