WordPress.org

Ready to get started?Download WordPress

Forums

Social Profiles Widget
Open in new window (3 posts)

  1. lyricalbiz
    Member
    Posted 3 years ago #

    Is it possible to have the links open in a new window? thanks!

  2. ClaytonJames
    Member
    Posted 3 years ago #

    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.

  3. keigh
    Member
    Posted 2 years ago #

    Works like a charm! thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic