ss_blog_claim=4079d6def1eb3506940afc491a88a95f

Making the “Share This” Wordpress Plugin valid

Scripts Add comments

I try my best to keep this site up to web standards. Since i’m always tweaking it i have to check the W3C validation service every now and then to check the pages. Silktide’s Sitescore currently looks at the validator for compliance (although they promise an update to their service this month). The Share This plugin that allows readers to submit the content to bookmarking or social websites or to email your post to others is a great plugin. It does not pass validation though. Make these changes to the code of share_this.php which should be in the share-this folder of your plugins directory of your Wordpress installation. On lines 476 and 477 replace “onClick” with “onclick” and from lines 45 through 120 after every “&” putamp;” and your page should validate. There should be 23 instances of “&” that you need to replace in version 1.4 of the plugin. Thanks to Alex King for the excellent plugin.



Related Posts

Leave a Reply

Entries RSS Comments RSS Log in