If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I found another thread on this wonderful support forum which showed me how to get the links that are on the top right in the header to open in new windows by adding target = blank into one of the files. While I was adding the code, I realized that the RSS code was not in the same section as the other social media links like Facebook, twitter, Google+ etc.
I went and I tried to find the RSS code and I tried adding the target = blank just like I had with the other social media links. However, I wasn’t able to do it correctly. May I please ask you where it is in the code where I have to make the necessary change in order to get my RSS link at the top to open in a new page?
Here is my website: http://notashamedofthegospel.com
You should find the RSS link in header.php on roughly line 134. This is the code you’re looking for:
echo ' <li class="rss"><a href="'.avia_get_option('feedburner',get_bloginfo('rss2_url')).'">RSS</a></li>';
Just add your target=blank before the href like this:
echo ' <li class="rss"><a target="_blank" href="'.avia_get_option('feedburner',get_bloginfo('rss2_url')).'">RSS</a></li>';
The topic ‘Getting the RSS Link in top header social area to open in a new windro’ is closed to new replies.