19 Oct

Open RSS feed (built in widget) in new window

In file ‘default-widgets.php’

class WP_Widget_RSS

in function widget, line 972

$title = “<a class=’rsswidget’ href=’$url’ target=’_blank’><img style=’border:0′ width=’14’ height=’14’ src=’$icon’ alt=’RSS’ /></a> <a class=’rsswidget’ href=’$link’ target=’_blank’>$title</a>”;

in function wp_widget_rss_output, lines 1091,1093

echo “<li><a class=’rsswidget’ href=’$link’ target=’_blank’>$title</a>{$date}{$summary}{$author}</li>”;
echo “<li><a class=’rsswidget’ href=’$link’ target=’_blank’>$title</a>{$date}{$author}</li>”;

One thought on “Open RSS feed (built in widget) in new window

Comments are closed.