Do you wish to add unique content material in your RSS subscribers? You need to use this bonus content material as a method to encourage extra customers to subscribe your RSS feed. On this article, we'll present you how one can present content material just for RSS subscribers in WordPress.
When and Why You Want Feed Solely Content material in WordPress?
The easiest way for customers to obtain updates out of your web site is by signing up in your email list or by subscribing to your RSS feed. You possibly can even ship your WordPress posts to your e mail checklist subscribers utilizing e mail companies like MailChimp, Aweber, and so on.
Nevertheless, it's a little onerous convincing customers to subscribe to the RSS feed of a brand new web site. Many web site house owners use a advertising and marketing tactic referred to as ‘Content Upgrades‘ to get extra subscribers.
Equally you'll be able to provide your customers bonus content material in the event that they subscribe to your RSS feed. You possibly can shortly get much more subscribers by combining this with well-liked lead era instruments like OptinMonster.
Having mentioned, let’s see how one can present content material solely to RSS subscribers or add feed solely content material in WordPress.
Technique 1: Including Feed Solely Content material utilizing a Plugin
This methodology is simpler and is advisable for freshmen.
Very first thing that you must do is set up and activate the WP Kill in Feed plugin. For extra particulars, see our step-by-step information on how to install a WordPress plugin.
Upon activation, the plugin makes two new shortcodes accessible so that you can use.
The primary shortcode is [addtofeed]. It lets you add feed solely content material wrapped within the shortcode. Like this:
[addtofeed]
This content material is for RSS feed subscribers solely
[/addtofeed]
Between the shortcodes, you'll be able to add any content material you need like textual content, photos, YouTube movies, and so on. It's going to solely be seen within the RSS feed and common guests of your web site is not going to see it.
You possibly can inform common guests that there's extra content material which might be seen to RSS feed subscribers after which add a hyperlink to your RSS feed.
Hiding Content material from RSS Feed Subscribers
The plugin additionally lets you conceal content material from RSS feed subscribers and make it seen solely to customers who go to your web site.
Merely wrap the content material in [killinfeed] [/killinfeed] shortcodes and it'll not be seen to your feed subscribers. Like this:
[killinfeed]Content material hidden from RSS feed subscribers [/killinfeed]
Technique 2: Present Content material solely to RSS Feed Subscribers Utilizing Code
This methodology requires you so as to add code in your WordPress web site. In case you are comfy pasting code snippets into WordPress, then you need to use this methodology.
Merely add this code to your theme’s functions.php file or in a site-specific plugin.
operate feedonly_shortcode( $atts, $content material)
add_shortcode('feedonly', 'feedonly_shortcode');
This code is principally the identical because the plugin. It merely checks if person has requested a feed, then add feed solely content material to publish content material. In any other case, it skips the feed solely content material.
You will want to wrap feed solely content material in a shortcode like this:
[feedonly]This content material will solely be seen to RSS feed subscribers[/feedonly]
Content material contained in the shortcode will solely be seen to your feed subscribers. Once more you'll be able to inform your web site guests that they may get to see extra content material in the event that they subscribe to your RSS feed.
We hope this text helped you learn to present content material solely to RSS feed subscribers in WordPress. You might also wish to see our 9 extremely useful RSS tricks and snippets for WordPress.
In the event you preferred this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You can too discover us on Twitter and Facebook.