Support » Plugin: WordPress Ad Widget » Issue with Image Widget and target="blank"

Viewing 3 replies - 1 through 3 (of 3 total)
  • Actually, let me expand a bit more, this seems to related to the selection of “Auto Resize to Max Width?” as well. It seems the “Auto Resize to Max Width?” overwrites the value for the “Open in New Window?” option.

    Are you trying to make it open in the same window? you have to go into wp-content/plugins/adwidget/adwidget.php and change

    # There’s a reason for this dumb condition
    if($new == ‘yes’ || $new == ”)
    {
    $target = ‘target=”_blank”‘;
    }
    else
    {
    $target = ”;
    }

    To

    # There’s a reason for this dumb condition
    if($new == ‘yes’ || $new == ”)
    {
    $target = ‘target=”_self”‘;
    }
    else
    {
    $target = ”;
    }

    Plugin Author Broadstreet

    (@broadstreetads)

    Hey folks, sorry about the wait here! Didn’t know we had open issues until I checked this.

    This should be fixed in 2.6.2

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue with Image Widget and target="blank"’ is closed to new replies.