• Works perfectly. I’ve also changed this line here:

    $myURL = (isset($atts['url']) && !empty($atts['url']))?esc_url($atts['url']):"";

    With this one causing when no url given to redirect to previous page:

    $myURL = (isset($atts['url']) && !empty($atts['url']))?esc_url($atts['url']):$_SERVER['HTTP_REFERER'];

    ??

  • The topic ‘Wonderful Plugin!’ is closed to new replies.