WordPress: How to open rss links in new window?


wordpressBy default, WordPress RSS widget doesn’t open new window when user click on the link. I’ve been searching for the solution for quite a while and most of the solution refer to editing the wordpress core file (wp-includes/default-widgets.php). Editing core file are not a permanent solution, whenever there is wordpress update, it will write off your modification. At the end, i decided to use jQuery to solve the problem.

To open WordPress rss link in new window, follow the steps below:-

  • Login to your WordPress admin panel, Appearance -> Editor
  • Click on for header.php at the right sidebar
  • Add the content below between the head tag

    * make sure you have jquery loaded
  • Once done, update the file and you may refresh your front page.
  • Now you may click on rss link and it should be open in new window!

Related posts:

Fckeditor - File Manager Session Problem in IE7
How to connect Creative Zen V Plus in Mac OS X
How to check if directory exists in Bash script
How to enable personal file sharing in Ubuntu 10.04
CPAN Error: make test had returned bad status, won't install without force
How to insert new line (line break) in a cell - OpenOffice Calc
How to create Table of Contents in LibreOffice
How to validate drop down list in Javascript?

Leave a Reply