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

  1. melsarah
    Posted 3 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.


  2. codefish
    Plugin Author

    Posted 3 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
    Posted 3 years ago #

    has this been added yet?

  4. bridgetbf
    Posted 3 years 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!

  5. asna
    Posted 2 years 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
    Plugin Author

    Posted 2 years 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

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

About this Topic