Last active
August 29, 2015 14:10
-
-
Save puikinsh/20ec9d80e49c6830dcb8 to your computer and use it in GitHub Desktop.
A simple WordPress RSS subscribe shortcode http://colorlib.com/wp/shortcodes-can-add-life-wordpress-themes/
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
<?php | |
// Shortcode to display a subscription message on your website | |
function subscribe_link_shortcode() { | |
return 'Did you like what you read? Now, let all these posts be delivered right into your inbox. Simply <a href="http://feeds.feedburner.com/Myblog" title="Subscribe to the Site">subscribe to My Blog Posts via 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