• Thanks Leo Jiang from (https://dev.linksku.com/sharepost/) for making this awesome code. BUT, is it too much to ask to see if you can make it to pass validation?

    Here are my errors in my website:

    Error: there is no attribute “share_url”
    Error: there is no attribute “data-url”
    Error: there is no attribute “data-counter”
    Error: there is no attribute “href”
    Error: there is no attribute “size”
    Error: there is no attribute “count”
    Error: element “g:plusone” undefined
    Error: there is no attribute “displayText”
    Error: there is no attribute “st_url”

    Can this be done with JQuery?

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author linksku

    (@linksku)

    Some of the buttons are marked as “breaks validation”. The errors that you provided are from the ShareThis and Google +1 buttons. All other ShareThis/+1 plugins will also cause the errors.

    If I make it load with jQuery, many users will not like the extra 70kb+ script.

    Let me know if you have any other suggestions ??

    Thread Starter CreativeWP

    (@mevaser)

    Please forgive me. But the only thing that needs to be done for the Jquery (I am not a ninja in Jquery) is to wrap the section that is is giving the validation problem. EG:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Also, those without javascript turned off, I believe is something like 1%.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP Buttons but not Valid Code’ is closed to new replies.