Pinterest RSS Widget
usage in theme = "uncaught syntaxError" (3 posts)

  1. Pirco the One and Only
    Posted 2 years ago #

    I used the sample code from the FAQ page and get error in chrome v28: "Uncaught Synta Error: Unexpected token &"

    looking at source, it appears that a space is missing before "target" attribute.

    <div class="pins-feed-small"><a href="http://pinterest.com/pin/42713896439196205/"target="_BLANK" title="feathers - Pinned on Aug 03, 2013">


  2. Pirco the One and Only
    Posted 2 years ago #

    I fixed the issue above by adding space before "target" in the plugins source "pinterest-rss-widget.php" on line 76 like so if ($target == 'newwindow') { $content .= ' target="_BLANK" '; }; but now there's another error:

    "Uncaught SyntaxError: Unexpected token ,"

    that seems to be related to the nailthumb() function on line 107 of "pinterest-rss-widget.php" (commenting out that line solves the error and I don't need that resizing of thumbs anyway.)

  3. bkmacdaddy
    Plugin Author

    Posted 2 years ago #

    Please try upgrading to the latest version 2.2.4 and let me know if that resolves your issue. I've added the fix you implemented and suggested (thank you!)

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic


No tags yet.