Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #792074

    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

    #792282

    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

    #792452

    Hello Victoria,

    That snippet of code did the trick! Thank you.

    This can be closed; it’s resolved. :-)

    Sincerely,
    Greg

    #792591

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘RSS Links in Footer Open in New Window?’ is closed to new replies.