Created
May 27, 2015 23:40
-
-
Save Kaiderella/9b6cf32e2bdc49ccc641 to your computer and use it in GitHub Desktop.
Shortcodes tạo mục subscribe
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 to add subscribe text to posts and pages | |
function subscribe_link_shortcode() { | |
return 'Nếu bạn thích bài viết này, tôi khuyên bạn nên <a href="http://feeds.feedburner.com/ebooksvn" title="Subscribe blog của tôi">subscribe eBooksvn blog thông qua RSS</a>.'; | |
} | |
add_shortcode('subscribe', 'subscribe_link_shortcode'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment