WordPress.org

Support

Support » Plugins and Hacks » Open in new window

Open in new window

Viewing 2 replies - 1 through 2 (of 2 total)
  • Clayton James
    Participant

    @claytonjames

    This is a “hacky” approach, but if you open /social-profile-widget/plugin.php, on line 120 you can try changing this;

    printf( '<a href="%s"><img src="%s" alt="%s" /></a>'

    to this…

    printf( '<a href="%s" target="_blank"><img src="%s" alt="%s" /></a>'

    I think that will force a new window when any of the links are clicked.

    Works like a charm! thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Open in new window’ is closed to new replies.