AddThis Wordpress plugin not showing on excerpts

russell.spicer Jul 24, 2012 08:51AM EDT

Our live Wordpress blog is currenly running Wordpress 3.3.2. I have not upgraded to Wordpress 3.4.1 yet, as the AddThis Social Media Bookmarking Widget does not show on a blog page with excerpts. I know this to be the problem, as i have a test platform setup offline, which when upgraded to Wordpress 3.4.1 fails to show the addthis icons, yet in 3.3.2 all is fine.

I have discovered a tutorial online, which goes through creating your own template for Wordpress. When created if the blog page is set to get all the blog post it is ok, however telling the page to get only the excerpt (the only code change), the addthis plugin does not show.

I want to upgrade to Wordpress 3.4.1 and continue to use the Addthis plugin, but cannot at the moment if it does not work fully.

We are using the "Red Modern" theme, freely available via Wordpress.

Many thanks for your help in advance.

Up 0 Rated Down
Paul (AddThis Happiness Specialist) Jul 26, 2012 02:26PM EDT
Make sure your WordPress theme uses the_content() or the_excerpt() so that our plugin will hook into the callback function and display our buttons.
Up 0 Rated Down
russell.spicer Jul 27, 2012 02:28PM EDT
Hi Paul,
Within the "index.php" file of our theme, there is the code "<?php the_excerpt(); ?>". With Wordpress 3.4.1, only if we change the word "excert" to "content" does the AddThis plugin show up.

However, this is not what we require.

In Wordpress 3.4.1, it seems using any theme with "<?php the_excerpt(); ?>", no AddThis icons appear, unless you use "<?php the_content(); ?>". In Wordpress 3.3.2 the AddThis plugin works, it is only when upgraded we have a problem.

We do not want to use "<?php the_content(); ?>", as some of our blog posts are very long. We want to use "<?php the_excerpt(); ?>" to only show a small amount of the post, but still have the AddThis icons show.

Any help appreciated.
Up 0 Rated Down
Paul (AddThis Happiness Specialist) Jul 27, 2012 02:28PM EDT
Do you have the checkbox for showing excerpts enabled in the advanced tab of the AddThis settings?
Up 0 Rated Down
russell.spicer Aug 02, 2012 02:33PM EDT
Hi Paul
Yes we do. As i have mentioned, the only thing that we can change to get it to work under Wordpress 3.4.1 is the code "<?php the_excerpt(); ?>" to "<?php the_content(); ?>", then the plugin works, but we don't want to view the blog this way.
We want to be able to use the excerpt code, so that only a intro to the post is shown.
Thanks

This question is closed to new answers.

Still need help?


General Topics

 

Developers