WordPress RSS Trick — How To Add RSS Feed Anywhere On Your WordPress Website

RSS stands for Really Simple Syndication. It allows you to syndicate your site’s content. RSS defines an easy way to share headlines and regularly updated content. It comes in handy for website owners to keep their visitors updated on the topics which interest them. As a general scenario, clients are often interested in including RSS feed on their weblogs and websites at the most effective places like header, sidebars or footer. To add the WordPress RSS feed anywhere on your WordPress powered website, you just need to ftp the RSS logo of your choice and edit functions.php or custom_functions.php with the following lines of code:

 
function custom_rss()
{
?>
<div> <a href="/?feed=rss"><img src="/wp-content/themes/thesis/custom/images/rss_icon.png"/></a> 
</div> 
<?php 
}

add_action(‘thesis_hook_before_sidebars’,’custom_rss’); 

In this particular code you just require an RSS image icon which is to be used as a link directing to the feed.

1 Comment

  1. it is so good …thanks

    Reply

Comment on WordPress RSS Trick — How To Add RSS Feed Anywhere On Your WordPress Website

Your email address will not be published. Required fields are marked *