SHARE
TWEET

Untitled

a guest Sep 21st, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. add_filter( 'the_content_more_link', 'read_more_text_change' );
  4. function read_more_text_change() {
  5.     return '<a class="more-link" href="' . get_permalink() . '">Continue Reading ...</a>';
  6. }
  7.  
  8. // Or if you are using content limit then you can use this
  9. add_filter( 'get_the_content_more_link', 'read_more_text_change_limit' );
  10. function read_more_text_change_limit() {
  11.     return '... <a class="more-link" href="' . get_permalink() . '">Continue Reading ...</a>';
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top