Advertisement
tribulant

Read More Link

Mar 29th, 2011
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.18 KB | None | 0 0
  1. function new_excerpt_more($more) {
  2.        global $post;
  3.     return '<a href="'. get_permalink($post -> ID) . '">Read the Rest...</a>';
  4. }
  5. add_filter('excerpt_more', 'new_excerpt_more');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement