WordPress Business Themes › Forums › Responsive Themes › Coupon Theme › Need to open the coupon_link in new window instead of same window
I need to know where to add target=’_blank’ in class_coupon_defaults.css file.
So that when a coupon code is clicked it should open a pop-up and the merchants link should open in new window rather than in the same link.
Typo its code_link
Mark, hope you are the only one who can guide us on this.
I had the same problem, please help.
so you want the affiliate link and coupon link to open in separate windows..? fell for your visitors as they wont know whats going on.
Affiliate link should open in new tab, same as rmn.
Let the popup be same as now…only the affiliate link should open in new tab.
Praveen, ill let you customize it for that, seems odd to me having so many windows for 1 click.
Same problem, how to do )
Ok thanks Mark
you’ll need to edit the core code, its not something i wish to add into the base framework as too many pop-ups is almost spam and will just end up casuing more harm than good.
the button link is found in the file;
Yes mark, but i tried putting target is blank in below but didnt work. Need your suggestion on this.
return “ID. “/”.$GLOBALS[‘CORE_THEME’][‘coupon’][‘code_link’].”/’ title='”.$post->ID.”‘ rel=’nofollow’ class=’btn btn-primary cbtn’>”.$CORE->_e(array(‘button’,’34’)).”“;
Mark, your help please!
Hey Praveen,Did you sort this out?
whats the best way to edit the code so merchants website will open in a new tab?
Submit your feature requests to our ideas board and it could be included in a future theme update.
or contact our support team