• Home
  • Blog
  • Contact Us
  • Home
  • Blog
  • Contact Us

Edit The Default WordPress RSS Widget

Last Updated: 13 July 2014 By Mike Haydon

Problem: I wanted to remove the link that the title of the default wordpress RSS widget automatically inserts.

After many frustrating hours of searching and researching, I finally figured out the solution. Every other solution I could find through google was from an earlier, deprecated version of wordpress.

Unfortunately, everywhere they tell you to look doesn’t have the code you need.

This solution works in the version current at the date of writing: WordPress 3.2.1

Solution:

  1. Look for the file /wp-includes/default-widgets.php
  2. Scroll down to line 740
  3. In case page numbers change, you are looking for the Default RSS Widget. Line 740 is:
    $title = “<a class=’rsswidget’ href=’$url’ title='” . esc_attr__( ‘Syndicate this content’ ) .”‘><img style=’border:0′ width=’14’ height=’14’ src=’$icon’ alt=’RSS’ /></a> <a class=’rsswidget’ href=’$link’ title=’$desc’>$title</a>”;
  4. Edit that. If you want to remove the link in the title of the rss widget, change the line to:
    $title = “<img style=’border:0′ width=’14’ height=’14’ src=’$icon’ alt=’RSS’ />$title”;
    That removes both the link around the rss icon and the title.

Hopefully that saves you the hours of frustration I just went through to find the code! It seems obvious now, but it was anything other than that at the time.

Filed Under: Wordpress
Originally Posted: 23 October 2011

Comments

  1. Brad says

    25 January 2012 at 2:44 am

    Thanks much for this! I also did quite a bit of searching for a solution to the current release [3.3.1] until I came across your post. The only item I wanted to remove was the title after the icon, which was simpler to do once I knew where to look. Much appreciated for your time-consuming research and write-up!

    Reply

Leave a Reply Cancel reply

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

Recent Posts

  • Add Blogroll To Genesis Dynamik
  • What Is Search Engine Optimization?
  • Google Plus Business Cover Image Change
  • Firefox Bookmarklets To Boost Productivity
  • PBNs Are Dead – Nope They’ve Just Changed

How Can We Help You?

  • Website Design Service
  • Google Penalty Recovery Service
  • Search Engine Optimization Service

Categories

  • Online Marketing
  • SEO
  • Social Media
  • Website Design
  • Wordpress

At A Glance

  • Ranking
  • Website Design
  • WordPress
  • Social Media
  • Contact
  • Google Penalties
  • Earnings Disclosure
  • Privacy Policy

Contact Us

SEO Perth

68 Barnes St
Innaloo, WA 6018

+61 (08) 9279 0694

Contact Us Here

Copyright © 2025