How to show content only to the RSS subscribers in WordPress

 

How to show content only to the RSS subscribers in WordPress

Sometimes the WordPress site owners want to ensure that the content is visible only to the RSS subscribers. If you do that you can ensure that more users subscribe to your RSS feed then you will need this article. With the help of this the RSS subscribers to your WordPress site will get more benefits and you will be able to capitalise on this. Many WordPress users actually do not know that this can be done and some feel that doing it is actually very difficult. Well that is not true it can be done easily and by anyone. Just that you will have to keep a few points in mind and you will have to follow the steps that we are about to mention.

Why do you need feed only content in WordPress?

We all know that if a user wants to get updates from your site then the best way they can do it is by signing up for the email list of yours. There is another way they can get updates and that is by subscribing to the RSS feed. The WordPress posts can be sent to the email list subscribers by using many email services like the MailChimp, Aweber and the list just goes on. We have already discussed about these methods in our previous articles. You must have noticed that it is not very easy to convince the users about subscribing to the RSS feed of a website that is quite new. To ensure that the new websites also get RSS subscribers the site owners use a tactic that is called the “content upgrades”. If you want you can also use the same strategy or you can look at some other ways. One such way is offering bonus content to the users. This will encourage them to subscribe to the RSS feeds of a new website.

We would recommend that you combine this tactic of giving away bonus contents with popular lead generation tools like OptinMonster. When you do that more and more subscribers will get attracted to your site. We are enclosing a screenshot that will help you get a better idea of what we are trying to say.

Now that you understand well why you need to ensure that the content of your site is available only to those who are subscribing to the RSS feeds we will move to the next part of the article that will explain how you can actually get this done. There are two methods that you can basically use to do this. One method is by using a WordPress plugin and the second method is by using a code. We will be discussing both the methods in detail now in this article so that the readers get a better idea of what we are trying to say.

Method 1: Adding a feed only content with the help of a plugin

The first method that we will be discussing that you can follow to ensure that the content is available only to those who are subscribing to the RSS feeds in your site involves the use of a plugin. We put this as the first method because it is easy to use and even those who are new to WordPress can actually use it. If you are a beginner with WordPress then this is all that you need. The plugin that you will need for this purpose is called the WP Kill in feed. This plugin has to be installed and activated first. If you are new to WordPress then you might not know how to install the WordPress plugins. If that is the case you can go to our article on how to install plugins in WordPress and you will get a step by step guide about how you can go about installing the plugin. Once the plugin has been activated it will ensure that two new shortcodes are available for you to use.

Getting two shortcodes might be a little confusing that is why we will explain how you can use these shortcodes. The first shortcode is called “addtofeed”. This will allow you to add a feed only content that is wrapped in the shortcode itself. The enclosed screenshot will help you to understand what we are trying to say.

[addtofeed]

This content is for RSS feed subscribers only

[/addtofeed]

 

Between the shortcodes you can actually add any content that you want like a text, images, YouTube Videos and the list just goes on. When this is done it will ensure that the content will be visible only in the users who are subscribing to the RSS feed and the regular users who are just visiting the site will not be able to see them. Nevertheless, you must educate the regular users about this and tell them that there is more content that is available only to the RSS feed subscribers and if they want to see these content then they will have to subscribe to the RSS feed. Here you can also mention the link that will take them to the RSS feed subscription page. Unless you educate the users they will not know about the RSS feed.

Hiding the content from the RSS Feed subscribers

The WP Kill in feed plugin will also help you to ensure that some content is actually hidden from the RSS feed subscribers and these will be available only to those who are generally visiting the website. To do this you will have to wrap the content within two shortcodes and they are [killinfeed] and [/killinfeed] shortcodes. This will ensure that the content will not be visible to the feed subscribers. This can be done in the following manner:

[killinfeed] content hidden from RSS feed subscribers [/killinfeed]

We hope that the first method is clear to the users. We will now move to the second method.

Method 2: Using a code to ensure that the content is available only to the RSS feed subscribers

In the second method you will not have to use a plugin instead you will have to use a code and this can be a little confusing to those who are new to WordPress. This is why we are not suggesting that this method to be used by beginners. This method must be used only by those users who have been using WordPress for some time.

In this method you will have to add a code to the WordPress site as the name itself clearly indicates. This must be tried only by those who are good with coding in WordPress. You will have to add this code as we have mentioned below to the theme’s function.php file or you can add it to the site-specific plugin.

If you look closely you will realise that the code is actually very similar to the plugin that we have discussed in the first method. The code basically checks if the user has requested for a feed and then it will add feed only content to the post content. If not then it will simply skip the feed only content.

There is a shortcode that you will have to use in order to wrap the feed only content and the shortcode is written something like how we have mentioned below:

[feedonly] This content will only be visible to the RSS feed subscribers [/feedonly]

This will ensure that the content that is mentioned within the shortcode will only be visible to the subscribers. Here again you will have to keep  in mind that you do inform the visitors coming to the site that there are some additional content available in your site that will be shown only  to those who have subscribed to the RSS feeds. This will ensure that if these visitors want to see more content they can subscribe to the RSS feed.

 

These are some steps and methods that you can follow in order to ensure that some content of the site is available only to the RSS subscribers. We hope that the WordPress users will actually find this information useful and it will help them to develop the site in a better way.