WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Facebook Share (New) Button] w3c error: multiple fb_share_1 ids

[Plugin: Facebook Share (New) Button] w3c error: multiple fb_share_1 ids

  • lelebart
    Participant

    @lelebart

    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.'"

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Facebook Share (New) Button] w3c error: multiple fb_share_1 ids’ is closed to new replies.