• I have used the RSS widget to provide some feeds but i would prefer them to open in a new window.
    Where can i change the code to enable this???
    Thanks in advance
    Kefallon

Viewing 3 replies - 1 through 3 (of 3 total)
  • I think you’ll have to meddle with the core files for it. Or may be you can add something to the theme’s “functions.php” which I do not know.

    The link is around line no. 835 of “/wp-includes/default-widgets.php”. You can add add target=’_blank’ to this:

    echo "<li><a class='rsswidget' href='$link' title='$desc'>$title</a>{$date}{$summary}{$author}</li>";

    Though it is better you avoid tinkering with the core files. May be there is a plugin for it! 🙂

    S.K

    Thread Starter panagia

    (@panagia)

    I presume the above is the only option?????
    Unless anyone knows of a plugin?

    In case someone else is looking for this (I don’t expect the OP is still):

    Search the plugin directory for “RSS new window”

    -JEDs

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘RSS feeds’ is closed to new replies.