Posted By

elightbo on 01/04/10


Tagged

php textmate wordpress


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

rickfu
maxvee8
BrianCoyDesign


Custom more text with WordPress in functions.php


 / Published in: PHP
 

URL: http://digwp.com/2010/01/wordpress-more-tag-tricks/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+DiggingIntoWordpress+%28Digging+Into+WordPress%29&utm_content=Google+Reader

  1. function custom_more($more_link, $more_link_text) {
  2. return str_replace($more_link_text, 'Keep reading this post', $more_link);
  3. }
  4. add_filter('the_content_more_link', 'my_more_link', 10, 2);

Report this snippet  

You need to login to post a comment.