WP Help Please (re: Widgets and RSS)

Discussion in 'WordPress' started by gemini181, Nov 15, 2008.

  1. #1
    Hi,

    Using the Wordpress widgets for RSS feeds in the sidebar.
    How can I make all those links be "target=_blank" ?
    Would the change be made in widgets.php, and anyone know which line??

    Thank you


    EDIT:
    :) Found it already...

    In widgets.php
    Find
    echo "<li><a class='rsswidget' href='$link' title='$desc'>$title</a>{$date}{$summary}{$author}</li>";
    Replace with
    echo "<li><a class='rsswidget' href='$link' target='_blank' title='$desc'>$title</a>{$date}{$summary}{$author}</li>";

    FYI: I was using Notepad, so don't have a line number.
    It's ~3/4 of the way down the page.


    /That was easy...
     
    gemini181, Nov 15, 2008 IP