Created
November 3, 2017 07:09
-
-
Save pvphong90/1778e0a841fe383043b7fbb25686afca to your computer and use it in GitHub Desktop.
Để tùy chỉnh [...] sau khi trích đoạn bài, bạn có thể đặt mã sau trong functions.php:
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
function excerpt_read_more( $more ){ | |
return '<a href="' . get_permalink() . '" rel="nofollow"> Read More</a>'; | |
add_filter( 'excerpt_more', 'excerpt_read_more' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment