Shipping Link in New Window

Last updated on Wednesday, October 3rd, 2012

These instructions are intended for those who are proficient in theme development. The relevant tutorials on developing & customising themes can be found on wordpress.org. If this is beyond you, we do offer a competitively-priced theme development service starting at £33 per hour. Please contact us for further details.

Please think twice before implementing this. Spawning new windows without warning causes severe problems for some user groups and — depending upon your country’s legislation — may cause the site to contravene anti-discrimination or disability laws. This functionality was added specifically for the shipping link in the checkout form.

add_filter('eShopCheckoutLinksAttr','mytarget');
function mytarget(){
	return 'target="_blank" title="Opens in new Window"';
}

WordPress Theme Development

Top