• Hi David,

    Thank you very much for this plugin. I like the light-weight concept, without bloated admin section. One of my favourite features is the possibility to use my own images as buttons. Your plugin seems to be exactly what I am looking for.

    Unfortunately the target-option doesn’t work for me. When I set it to _blank the new content doesn’t open in a new window. I am using WP 4.6.1 and have put this code into The Loop.
    <?php echo social_bookmarks( 'target=_blank' ); ?>
    Also tried
    'target="_blank"'

    Tested with Firefox and Safari.

    p.s. I hope you are still developing this plugin. Having the option to use a modal window would be great. I see this is already part of your task list.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author David Artiss

    (@dartiss)

    Hi @brighton-beach,

    Yes, I’m still developing it ??

    Do you have a URL of where you’ve tried this so I can see what’s being output?

    Thanks.

    • This reply was modified 8 years, 1 month ago by David Artiss.
    Thread Starter brighton beach

    (@brighton-beach)

    Thanks for getting back to me immediately, David.

    I have done some more testing and found out that the taget option is only an issue on pages, generated with Jetpack; Jetpack-portfolio pages in this case. On other pages it works fine. Unfortunately I would only use it on Jetpack-portfolio pages. I guess there is no easy workaround.

    Have a good weekend.

    Plugin Author David Artiss

    (@dartiss)

    That doesn’t mean I can’t find my way around it – I use the Jetpack portfolio pages myself. Can you provide a URL and I’ll tell you if it’s an easy fix?

    Thread Starter brighton beach

    (@brighton-beach)

    Cheers, I have sent you the url via the contact form on your blog. The site is still in development and shouldn’t be shared in a public forum.

    Plugin Author David Artiss

    (@dartiss)

    Got that, ta. Can you try…

    <?php echo social_bookmarks( "target='_blank'" ); ?>

    Thread Starter brighton beach

    (@brighton-beach)

    Cheers!

    That’s interesting: Your above code works fine. However in combination with other options is doesn’t. For example:

    <?php echo social_bookmarks( 'default=off&twitter=on&facebook=on', 'priority=123', "target='_blank'" ); ?>

    Changing the format of the other options according to your example doesn’t work either:
    <?php echo social_bookmarks( "default='off'&twitter='on'&facebook='on'", "priority='123'", "target='_blank'" ); ?

    Plugin Author David Artiss

    (@dartiss)

    Yea, the output on your page is really screwed up and I can’t tell why. Although development is still active it’s been a while since I touched the code so I’m not 100% sure what’s going on. What I don’t understand is why the portfolio pages should be any different.

    Leave it with me and I’ll try and get to the bottom of it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘target=_blank not working’ is closed to new replies.