Support » Plugin: WordPress Share Buttons Plugin – AddThis » Plugin adds css to wp_footer causing w3c validation error

  • The plugin is adding output.css to wp_footer rather than wp_head. This causes a HTML validation error when run through a the W3C ( Error: Element link is missing required attribute property.

    It also seems to add 18 different css files to the header and at least 3 js files to the head these are not causing errors but still it seems like something is wrong.

    Any Idea how to fix this?


Viewing 1 replies (of 1 total)
  • Plugin Contributor Julka Grodel


    Hi Neil.

    Thanks for letting us know about your issue.

    By default the 5.0 versions of the plugin add scripts into header, with no options to select adding scripts into the footer. You might be using an older version, or you might have settings from an older version of the plugin specifying that scripts should be added to the footer (that are somehow still being respected).

    I’d suggest:

    1) Make sure you’re at 5.0.7. If not, upgrade.

    2) If you’re still having issue, you might want to go into your database and delete the addthis_settings option. (Copy down your pub/profile id, though. You’ll want to keep that around for your sharing statistics.)

    3) Go back in and reconfigure the plugin (step 2 just deleted your configurations)

    If you’d like to share a link to a page that is having this issue, we’d be happy to take a look and see if anything else sticks out.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin adds css to wp_footer causing w3c validation error’ is closed to new replies.