Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #186558

    I’ve got a ‘Referal URL’ associated with an image in an Advertising Area widget. How do I make the ‘Referal URL’ launch in a blank page, instead of within the existing page? ie: target=blank

    #186848

    Hey cxvaldes!

    Please go to wp-content\themes\enfold\framework\php folder and open class-framework-widgets.php file and search

    if($this->add_cont == 2) echo

    and add target=”_blank” to a tag as shown here http://i.imgur.com/5KSc5zR.jpg

    Cheers!
    Yigit

    • This reply was modified 11 years, 6 months ago by Yigit.
    #186952

    Hi Yigit,

    Thanks for the help! The solution you provided only has IMG 2/URL 2 launch in “target=_blank”, as opposed to IMG 1 and IMG 2. But no worries, I found an alternate workaround using HTML to place an image with link within a Text Widget. This allows for custom sizing, as well as being able to custom control targets for each specific image.

    http://onecoolsitebloggingtips.com/2008/02/28/wordpress-placing-images-in-text-widgets/

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Advertising Widget’ is closed to new replies.