Pinterest Pinboard Widget
[resolved] Open pins in new window? (5 posts)

  1. Rene Michaels
    Posted 4 years ago #

    Your plugin is just about perfect!

    I've been able to tweak the css to make it fit my sandbox theme here:

    Is there any way to modify it so the pins open in a new browser window?


  2. dizzyland
    Posted 3 years ago #

    Hey Rene,

    I had the same issue and I found a fix so I thought I would share.

    In the plugin editor go to "pinterest-pinboard-widget/pinterest-pinboard-widget.php"

    About half way down you'll see this:
    echo("<a href=\"$url\">

    Change it to this:
    echo("<a href=\"$url\" target=\"_blank\">

    Hope that helps. :)

  3. Creepy Gnome
    Posted 3 years ago #

    That is nice you provided the fix, thanks for that!!

    I really think this should be added to the plugin by CodeFish with a checkbox to enable it in the widget to allow both behaviors. :)

  4. dizzyland
    Posted 3 years ago #


    I agree.

    I also wish that we could sort by boards but I suppose that's a topic for another thread.
    The site I'm using it for is specific to a certain board that my friend is using so having just random pins is awesome... but not as awesome as it could be.

    Hopefully it gets a much needed update soon! I've tried the others and I currently like this one the best. It's nice and clean.

    Thanks again...

  5. codefish
    Plugin Author

    Posted 3 years ago #

    I'm adding support for opening in a new window in the upcoming version 1.0.3. I plan to release it later this week.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pinterest Pinboard Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.