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
  • Wordpress Category RSS feed links In working on the post related to software updates and making sure it was easy to find the category feed JUST for that led me on a "round the world" kind of quest to find a way to put the category feeds in the footer of pages in Wordpress. The......
  • Ubuntu Linux Software Raid - Replacing a Failing Drive Sometime back I setup my home server running Ubuntu Linux (6.06 - Dapper Drake LTS). I used two pairs of drives to do raid cloning. Two IDE drives were for the main system structure and two SATA drives for Audio/Video storage as well as CDimages and other large file sharing......
  • Wordpress Stats plugin not updating - fix There are a lot of good things to like about the newer versions of wordpress. It seems to keep getting better. One of the really cool plugins is the Wordpress.com stats plugin. This lets you have a nice simple stats interface accessible from your Dashboard on your wordpress blog. (It......
Blog Traffic Exchange Related Websites
  • Top 5 Most Common Mistakes With Do-it-yourself SEO I look at a lot of sites on a daily basis. There are a lot of common problems I see on sites. Some people may have tags set-up improperly or use tags that have no real purpose. I have compiled a list of the 5 top do-it-yourself SEO errors. It's......
  • 5 WordPress plugins to help organise your blog Today we have a new guest poster, Tom Walker, who writes about several organizational WP plugins. With blogging’s ever-increasing popularity and the more it becomes entrenched in the mainstream, the need to maintain a sense of order and keep things tidy gains added significance. WordPress has a superfluity of tools......
  • 10 Tips For Rich And Attractive Banner Ads Banner Ads are the attractive advertising medium that quickly grabs the visitors attention. Implementing an attractive banner ad is more important in order to effectively utilize the features or the power of banner ads. The success of your online advertising purely depends on how far you are putting the......
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