WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Pirco the One and Only
    Member
    Posted 11 months 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">

    http://wordpress.org/plugins/pinterest-rss-widget/

  2. Pirco the One and Only
    Member
    Posted 11 months 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
    Member
    Plugin Author

    Posted 8 months 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!)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.