View Single Post
Old 08-23-2013, 06:20 AM  
eroticfem
Confirmed User
 
Join Date: Sep 2009
Location: Europe
Posts: 362
Need help with code!

How do i add to this code that the link(s) opens in a new window?

Code:
  $sponsor_link_url = get_post_meta( get_the_ID(),'sponsor_link_url',true);
  $sponsor_link_txt = get_post_meta( get_the_ID(),'sponsor_link_txt',true);

  $sponsor_link = "<a class=\"sponsor_link\" href=\"$sponsor_link_url\">$sponsor_link_txt</a>";

  echo $sponsor_link;
__________________
eroticfem is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote