Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 7th, 2011  |  syntax: PHP  |  size: 0.18 KB  |  views: 112  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. function excerpt_readmore($more) {
  2.         return ' ... <a href="'. get_permalink($post->ID) . '" class="readmore">' . 'Read More' . '</a>';
  3. }
  4. add_filter('excerpt_more', 'excerpt_readmore');
clone this paste RAW Paste Data