WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Share (New) Button
w3c error: multiple fb_share_1 ids (3 posts)

  1. lelebart
    Member
    Posted 3 years ago #

    If I want to add the share button on a "index" page -like an archive-, that page won't validate w3c, 'cause id "fb_share_1" appears more than one time.
    I solved modifying the plugin, adding _'.$post->ID.' to the id.

    !!! edit: the parser parsed the links, code changed - the essential !!!

    Search:
    id="fb_share_1"
    Replace with:
    id="fb_share_1_'.$post->ID.'"

  2. nemeshsingh
    Member
    Posted 3 years ago #

    lelbart, Thank you for your input. It will be fixed in the next release tomorrow.

  3. lelebart
    Member
    Posted 3 years ago #

    great, glad to be helpful :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic