WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Rene Michaels
    Member
    Posted 1 year ago #

    Your plugin is just about perfect!

    I've been able to tweak the css to make it fit my sandbox theme here:
    http://mtpsandbox.com/about/

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

    http://wordpress.org/extend/plugins/pinterest-pinboard-widget/

  2. dizzyland
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    Thanks!!

    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
    Member
    Plugin Author

    Posted 1 year 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

About this Topic

Tags

No tags yet.