Search This Blog
Popular Posts
-
Hello there! My blog post 'Spikes' was published on Sept. 22nd; however, the post before it called 'Flow' was published on...
-
WordPress has evolved to be much more than just a blogging platform, from online stores to full-on business platforms, there is ve...
-
Greetings, readers. Welcome to the HubSpot Marketing Blog. We're very happy to have you here. You might not realize it, but ge...
-
One of my early favorite pictures of Richard Armitage as Guy of Gisborne. [warning: rant] A few years ago, many more fans blogged ...
-
I will publish an article only when I have something important to say. That's what I reminded myself every time the egocentric ...
-
This entry was posted in Research, WordPress Security on March 1, 2017 by Mark Maunder 43 Replies Today we are posting an in-dep...
-
Written By ESR News Blog Editor Thomas Ahearn Information security is a top priority for background screening firms in today's dig...
-
The New York City Housing Authority (NYCHA) says rumors claiming that three Harlem housing projects have been sold to a "billionaire ...
-
I've been blogging with Wordpress since March. That's a little over three months of writing new posts at least twice a week. (Go m...
-
The United States government earlier this year officially accused Russia of interfering with the US elections. Earlier this year on Octo...
Blog Archive
- December (18)
- November (29)
- October (27)
- September (29)
- August (31)
- July (30)
- June (29)
- May (29)
- April (30)
- March (31)
- February (28)
- January (31)
- December (31)
- November (30)
- October (31)
- September (30)
- August (43)
- July (42)
- June (33)
- May (43)
- April (36)
- March (37)
- February (31)
- January (4)
- December (1)
- November (1)
- October (24)
- September (24)
- August (25)
- July (28)
- June (18)
- September (1)
Total Pageviews
Blogroll
How to Control Your RSS Feeds Footer in WordPress
Do you want to customize the RSS feed footer in WordPress? This allows you to add custom text, links, or even advertisements below your post content in the RSS feed. In this article, we will show you how to easily control your RSS feed footer in WordPress, and how to add custom feed only content to your posts.
RSS feeds offer an easier way for users to read your blog posts in their favorite feed reader apps such as Feedly.
However, RSS feeds can also be used by content scrapers to automatically steal your blog posts as soon as they are published. Sometimes these content scrapers end up ranking higher than your original post in search engines. To learn more, see our guide on how to prevent blog content scraping in WordPress.
Adding additional content to your RSS feed footer allows you to add backlinks to your main site and the original post at the end of each article. This allows you to rank higher for your posts even if they are copied by content scrapers.
By manipulating your RSS feed footer, you can also encourage readers to visit your website from time to time.
Having said that, let's take a look at how to easily control your RSS feed footer in WordPress.
Method 1. Add Content to RSS Feed Footer Using Yoast SEOThis method is easier and recommended for all users. It uses the Yoast SEO plugin, which is the most popular WordPress SEO plugin.
First you need to install and activate the Yoast SEO plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, you need to visit SEO » Dashboard page and click on the 'Features' tab. Next, scroll down to the 'Advanced settings pages' section and make sure this option is 'Enabled'.
Don't forget to save your changes to reload the plugin. After that, you will be able to see more options under the SEO menu.
Next, you need to visit SEO » Advanced page and click on the RSS tab.
Under the RSS feed settings, the first box allows you to add content before each post. The second box allows you to add content to the post footer.
Yoast SEO automatically adds credit text with backlink to your website in the RSS feed footer. You can either use the text as-is, or you can add your own content.
Don't forget to click on the 'Save changes' button to store your settings.
You can now view your RSS feed to see the changes. At the end of each article, you will be able to see content you added to your RSS feed footer.
This method requires you to add code to your WordPress files. If you haven't done this before, then check out our guide on how to copy and paste code in WordPress.
You'll need to copy and paste the following code in your theme's functions.php file or a site-specific plugin.
function wpb_feed_filter($query) { if ($query->is_feed) { add_filter('the_content','wpb_feed_content_filter'); add_filter('the_excerpt_rss','wpb_feed_content_filter'); } return $query; } add_filter('pre_get_posts','wpb_feed_filter'); function wpb_feed_content_filter($content) { // Content you want to show goes here $content .= '<p>Thanks for reading, check out <a href="'. get_bloginfo('url') .'">'. get_bloginfo('name') .'</a> for more awesome stuff.</p>'; return $content; }This code simply checks if the page requested is an RSS feed, and then filters the content to display your message in the RSS feed footer.
We hope this article helped you learn how to control RSS feed footer in WordPress. You may also want to see these helpful tips to optimize your WordPress RSS feed and get more traffic.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Source: How to Control Your RSS Feeds Footer in WordPress
0 comments:
Post a Comment