• Sidebar “Widget ? Social Connect Buttons” on the “MusicLife” theme. I would like to not open links using target=”_blank, I have searched through all the files, been thought functions.php and all the occurrences of target=”_blank without any luck,

    from the html code i can see

    ul class=”widget-wrap”><li class=”social-connect-widget”>
    <img

    Thank you very much.

    [Signature moderated]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter AwesomeMetalBands.com

    (@awesomemetalbandscom)

    apologies should have added as code

    <ul class="widget-wrap"><li class="social-connect-widget">
                                                        <a href="https://awesomemetalbands.com/playnow.html" target="_blank"><img

    This is my best guess..

    /musiclife/includes/social-icons.php

    Look under:

    function display_social_icons()

    …you may find several instances of

    . '" target="_blank">

    [edit] ..also check in /musiclife/lib/widgets/social-connect.php. There is 8 instances of target="_blank" in that file as well.

    [re-edit] – if we’re looking at the same theme, then open /musiclife/lib/Themater.php and look at the mess on line 528. The copy I’m looking at uses an “alternative” licensing scheme that should be thoroughly understood before choosing to use the theme.

    Thread Starter AwesomeMetalBands.com

    (@awesomemetalbandscom)

    Thank you, this worked fantastically social-connect.php was the correct file, a little longer than anticipated because i completely forgot I had the “WP Super Cache” and did not clear it ;-),

    What is really awesome is now I can configure the social-connect.php so I can select which links I want to open in target=”_blank”

    thank you

    [Signature moderated]

    You’re welcome.. Glad it worked.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Social Connect Buttons remove target="_blank’ is closed to new replies.