Hello Support,
On this site, is there a way to have the RSS Google News links in the footer open a new browser window?
http://contractpackagingreport.com/report-highlights/
I did a search on your forum (and a Google search) and haven’t found an answer that’s working for me yet.
Thank you,
Greg
Hey Greg,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look. How did you add the widget?
Or you can try adding this code to your functions.php
add_action('wp_footer', 'ava_new_custom_script');
function ava_new_custom_script(){
?>
<script type="text/javascript">
(function($) {
function a() {
jQuery('.rsswidget').attr('target', '_blank');
}
$(window).load(function() {
a();
});
})(jQuery);
</script>
<?php
}
If you need further assistance please let us know.
Best regards,
Victoria
Hello Victoria,
That snippet of code did the trick! Thank you.
This can be closed; it’s resolved. :-)
Sincerely,
Greg