Posted By

sridhar on 07/31/11


Tagged

wordpress excerpt excerpts


Versions (?)

Read more


 / Published in: PHP
 

  1. function new_excerpt_more($more) {
  2. global $post;
  3. return '<div class="readmore"><a href="'. get_permalink($post->ID) . '">Read More&rarr;</a></div>';
  4. }
  5. add_filter('excerpt_more', 'new_excerpt_more');

Report this snippet  

You need to login to post a comment.