 
	
		
		
		
		
			
- 
		AuthorPosts
- 
		
			
				
February 15, 2014 at 1:12 am #224225Hello ^__^ I’m working in Enfold. I have the Twitter widget and the advertising widget added to the footer. I would like the link to Twitter and the three link on the left (the three images marked as “friends” and “partners”, always inserted in the footer, such as advertising area in the second and third column), to be opened in a new window: What or where I need to change it to open in a new window? Now, both Twitter and the other three, open the link on the same page, I would rather be opened in a new page, Many thanks for everything. Bruno February 15, 2014 at 1:48 am #224231Hi, Try adding this at the end of js/avia.js: jQuery(function() { jQuery(function(){jQuery('a[href][rel*=external]').each(function(i){this.target = "_blank";}); });Regards, 
 JosueFebruary 15, 2014 at 2:15 am #224234Sorry Josue, I did update the theme and there is no more avia.js JS: What do you suggest? February 15, 2014 at 2:16 am #224235It’s right here: 
 http://trikego.com/wp-content/themes/enfold/js/avia.js?ver=1Regards, 
 JosueFebruary 15, 2014 at 2:37 am #224241I’m sorry, maybe there was a cache problem in FTP connection. I did like indicavi, but continues to open in the same window: you want me to send the file avia.js? February 15, 2014 at 2:50 am #224242There are no JS expert, I did as you suggested jQuery(function() { 
 jQuery(function(){jQuery(‘a[href][rel*=external]’).each(function(i){this.target = “_blank”;});
 });but it gave me error. I tried with jQuery(function(){jQuery(‘a[href][rel*=external]’).each(function(i){this.target = “_blank”;}); 
 });but does not change, the link opens in the same window. Can you solve the problem? Many thanks Josua February 15, 2014 at 2:58 am #224244Hi, Can you create an administrator account and post it here as a private reply? Regards, 
 JosueFebruary 15, 2014 at 3:05 am #224245This reply has been marked as private.February 15, 2014 at 3:10 am #224246This reply has been marked as private.February 15, 2014 at 3:25 am #224247Sorry, try with this code instead: jQuery(function() { jQuery(function(){jQuery('#footer a').each(function(i){this.target = "_blank";}); }); });Cheers! 
 JosueFebruary 15, 2014 at 3:38 am #224248This reply has been marked as private.February 15, 2014 at 3:43 am #224249This reply has been marked as private.February 15, 2014 at 8:50 am #224289You are welcome, glad we could help :) Regards, 
 Josue
- 
		AuthorPosts
- The topic ‘Widgets in the Footer: how to open links in a new page’ is closed to new replies.
