WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Facebook: Advanced Sharing Optimization for All Social Websites
[resolved] The wrong url is sent to facebook when the like button is included on index webp (2 posts)

  1. gladolus
    Member
    Posted 1 year 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 1 year 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.