Wordpress Rss Widget in New Window Solutions : Why is Wordpress opening new windows?
Wordprss How to open Rss Widget link in New Window ??
I have seen in many post on many sites.. if you search in google by this keyphase
you will be found countless post, where users asking same problem.
and most of fourm and blog has not any reply till far. so i had decided to fix it faster
i have found the solution now, but you need to do some change in your coding..
please do these changes
wp-includes/widgets.php
find these codes
if ( $link == ” ) {
echo “<li>$title{$date}{$summary}{$author}</li>”;
} else {
echo “<li><a class=’rsswidget’ href=’$link’ title=’$desc’>$title</a>{$date}{$summary}{$author}</li>”;
}
replcae with this
if ( $link == ” ) {
echo “<li>$title{$date}{$summary}{$author}</li>”;
} else {
echo “<li><a class=’rsswidget’ href=’$link’ title=’$desc’ target=’_blank’>$title</a>{$date}{$summary}{$author}</li>”;
}
and upload on your server back and check after remove your cache.
And it will work fine..
remember if this works when you use widget for rss feed display
enjoy ![]()











October 1st, 2009 at 5:56 am
Теория золотая. Результатами поставленных экспериментов может кто-то похвастаться?
July 28th, 2010 at 6:07 pm
Thanks so much for this cool info! I was unable to to find wp-includes/widgets.php … I am guessing my theme names it different.. I am using a news theme with many.. just plain hard to figure out!