• Hi,

    I’m using the really-simple-facebook-twitter-share-buttons. And this plug-ins generate 9 errors when checking it with an W3C checker.
    http://wordpress.org/extend/plugins/really-simple-facebook-twitter-share-buttons/

    The errors W3C gave me. I’m really sure these errors are from the plug-in. When I disable it the errors are gone 😉
    there is no attribute “allowTransparency”
    there is no attribute “data-count”
    there is no attribute “data-text”
    there is no attribute “data-url”
    here is no attribute “data-counter”
    there is no attribute “size”
    there is no attribute “href”
    element “g:plusone” undefined

    Think that the problem sits in the really-simple-facebook-twitter-share-buttons.php
    My question is how to fix these errors.

    Many thanks for your help !

    Some more info
    Line 61, Column 119: there is no attribute “allowTransparency”
    …http://twitter.com/share” class=”twitter-share-button” data-count=”horizontal”
    data-text=”Hallo wereld!” data-url=”http://mysite.com/?p=1″>Twee…
    <script type=”in/share” data-counter=”right” data-url=”http://mysite.com…

Viewing 1 replies (of 1 total)
  • Thread Starter Superdaantje

    (@superdaantje)

    Seems this will fix the validation errors for the Google +1

    <g:plusone size="'.$option_layout.'" href="'.$link.'" '.$data_count.'></g:plusone>

    To
    <div class="g-plusone" data-size="medium" href="'.$link.'" '.$data_count.'></div>

    In the above code I used an fixed size instead of the variable. I do not use the variable in my template 😉

Viewing 1 replies (of 1 total)

The topic ‘Validation errors with Really simple Facebook-Twitter buttons’ is closed to new replies.