Created
July 14, 2015 07:35
-
-
Save jainnidhi/77ad7efe65dc80a3c26f to your computer and use it in GitHub Desktop.
remove read more link on custom pages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Remove read more - basicWP.com | |
add_filter( 'the_content_more_link', 'child_read_more_link' ); | |
function child_read_more_link() { | |
if(is_archive()) { | |
return ''; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment