Share This Plugin not Working in Some Themes



I’ve started adding the Share This plugin to several of my sites and was frustrated on one site to see on the front page “SHARETHIS.addEntry(” and a lot more ugly text. Upon investigation the < script tag enclosing the SHARETHIS javascript. So, I went on an investigation. I looked in the share this forums and found some people reporting the same problem with no real solutions.


I tested putting the javascript in the header manually. That didn’t solve it. I tried disabling other plugins and that didn’t work.

Finally, I compared the source of the working page and the non working page and that’s when I saw that the enclosing script tags were missing. So, I started looking at the template tag right before the sharethis plug. I noticed that the working site had <?php the_content(‘Read the rest of this entry »’); ?> the one that wasn’t working was using the rss head of the article to get the summary text on the front page. <?php the_content_rss(‘…. so I replaced that bit and the sharethis plugin started working on the front page.

I like this because it also solved the problem I had with the popularity contest plugin not working.

Related Posts

Blog Traffic Exchange Related Posts
  • Browser competition, market decisions and open standards I just read a blog entry at zdnet. The writer, John Carroll, essentially asserts that the free market has chosen that monopoly in the case of the web browser IS what's best for it. There are a few things that I think he fails to take into account in his......
  • Remote Tech Support using VNC (Ultravnc SC and x11vnc+wrapper script) Ok, some time back I'd done a writeup on UltraVNC SC, which is a nice customizable (windows version) VNC server that essentially let's someone doing remote support build their own downloadable .exe that runs and automatically tries to make a direct connection to a "listening" vnc viewer. It's good for......
  • More on Explorer vulnerability Among other things... Sans has lowered the infocon to green, NOT that the threat is diminished, but there have been no new developments with regards to the announcement yesterday of a major Internet Explorer security vulnerability. Sans recommends browsing the web with firefox (with the noscript extension, so you can......
Blog Traffic Exchange Related Websites
  • SaudiJobsNet document.write(''); Job Searching Requires a Competitive Edge Many people are looking for exciting over seas work opportunities. SaudiJobsNetwork provides listings of thousands of over seas job opportunities and the information you need to land those dream jobs. Click here for current job listings.document.write(''); Free Registration Increase your chances of......
  • Health to Happiness The Swedish Diet gently boosts metabolism, decreases appetite and aids digestion to promote weight loss. It is loaded with nourishing vitamins, minerals, essential amino acids and electrolytes that one needs while eating less to lose weight. It's easy! Simply drink one capful of the liquid concentrate mixed with 8oz......
  • Yaeger:CPA Review Nearly 41,000 people fail the CPA exam every single year. But you don’t have to be one of them. And let’s face it, in times like these – you really can’t afford to be one of them. Now, don’t get me wrong. It takes hard work to pass the CPA......
PDF24    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site