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

November 25, 2011

Wordpress Quick Tip — How To Add RSS Feed Anywhere On Your Wordpress Powered 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.

 

Join 37,807 others and get free tutorials & tips on design & development using Wordpress on, Thesis & Genesis!

Need help with Wordpress, Thesis or Genesis?

Are you a designer or a developer looking for a hand with Wordpress, Thesis or Genesis? Or perhaps want to save time with a project? Get in touch and let's get the ball rolling! Check out our Thesis development, PSD to Thesis & other services.

{ 1 comment on WordPress RSS Trick — How To Add RSS Feed Anywhere On Your WordPress Website… read it below or add one }

ashraf soliman November 25, 2011 at 7:47 pm

it is so good …thanks

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

You can add images to your comment by clicking here.

Previous post:

Next post:

X

Wordpress, Thesis, Genesis tutorials from Binary Turf — one tutorial a day. Subscribe & sharpen your web design skills.

Name:

Email:

We respect your email privacy.