WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

NextGEN Facebook - Social Meta Tags for Facebook, Google, Pinterest, Twitter & More
[resolved] The wrong url is sent to facebook when the like button is included on index webp (2 posts)

  1. gladolus
    Member
    Posted 3 years ago #

    When I click on a post's Facebook like button on an archive page, the archive url is sent to Facebook instead of the post url (e.g. http://example.com/2013 instead of http://example.com/2013/post-permalink).

    The reason for this seems to be a typo in the function facebook_button().
    Line 108 of buttons.php is
    href="' . $attr['url'] . '"
    when it should be
    href="' . $atts['url'] . '"

    http://wordpress.org/extend/plugins/nextgen-facebook/

  2. JS Morisset
    Member
    Plugin Author

    Posted 3 years ago #

    Excellent! Thanks for letting me know. New version on the way...

    js.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.