WordPress.org

Ready to get started?Download WordPress

Forums

Pinterest Pinboard Widget
[resolved] more pins (6 posts)

  1. melsarah
    Member
    Posted 2 years ago #

    Hi - is there a way to have the "more pins" and all links open up in a new window. I don't like how it takes people away from my site.
    Thanks!

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

  2. codefish
    Member
    Plugin Author

    Posted 2 years ago #

    There's not really a way to fix it right now.. You could do it rewriting the HTML using javascript. I will add it as a feature in the upcoming release. I plan to add it somewhere next week...

    Hope this helps & thanks for the feedback!

  3. meowette
    Member
    Posted 1 year ago #

    has this been added yet?

  4. bridgetbf
    Member
    Posted 1 year ago #

    Hi there,

    I'm not sure if anyone was able to figure this out already, but I believe I was able to find a solution. Try this:

    1- Go to this file within the Pinterest Pinboard Widget: pinterest-pinboard-widget.php
    2- Search for the following code:
    echo("<a href=\"$url\"><img src=\"$image\" alt=\"$title\" title=\"$title\" /></a>");
    3- Replace this code with the following code:
    echo("<a target=\"_blank\" href=\"$url\"><img src=\"$image\" alt=\"$title\" title=\"$title\" /></a>");
    4- Save/upload file, and refresh the pages with the plugin. You should be able to open the Pinterest thumbnails in new windows.

    Hope this helps!
    -Bridget

  5. asna
    Member
    Posted 1 year ago #

    It does, thank you!

    I am facing another problem with the plugin... It doesn't show any pins wide, only one single column. I noticed that some pins are missing, I think they're the ones supposed to appear wide.

    I suck in coding... Your help is most needed (since the dev of this code doesn't reply)

    Thank you very much, in advance.

  6. codefish
    Member
    Plugin Author

    Posted 1 year ago #

    Support for opening in a new page will be added in the upcoming release 1.0.3.

    Hope this helps!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic