View Full Version : addthis_social_widget_drop help
Tekster
2008-05-12, 09:22 PM
I want to place the "addthis_social_widget_drop.php" plug inside a div.
It places a Bookmark button on every post so surfers can add the post to their social bookmarks.
The problem is that I want to place it at the end of the post in its own div, and I am not sure how to do it. I think I need to edit the Main Index Template and add the div at the end of post, but how do I call the plug in?
I hope someone can help, and that this is not too confusing.
walrus
2008-05-12, 10:01 PM
I want to place the "addthis_social_widget_drop.php" plug inside a div.
It places a Bookmark button on every post so surfers can add the post to their social bookmarks.
The problem is that I want to place it at the end of the post in its own div, and I am not sure how to do it. I think I need to edit the Main Index Template and add the div at the end of post, but how do I call the plug in?
I hope someone can help, and that this is not too confusing.
Depending on your theme but it probably should go in the Main Index Template where "the loop" resides. I'd probably try placing it right after this<?php the_content(); ?> but you can move it around a bit until you have it placed exactly where you want.
Tekster
2008-05-12, 10:59 PM
I know where I want to place it, but how do I call the plug in?
ex:
<div class="addthis"> I think the php call to the plug in goes here. this is what I need. </div>
Jeremy
2008-05-13, 12:52 AM
I think you may be approcahing this from the wrong direction. I used the plug-in for a while, but I seem to remember it being activated & managed from the Wordpress admin area.
Put addthis_social_widget_drop.php in wp-content/plugins/ and you should be able to activate it and manage it.
If you want to modify what the plugin outputs then you'll need to fiddle with addthis_social_widget_drop.php - probably the $badge variable.
walrus
2008-05-13, 02:15 AM
I know where I want to place it, but how do I call the plug in?
ex:
<div class="addthis"> I think the php call to the plug in goes here. this is what I need. </div>
Sorry dude, I thought addthis_social_widget_drop.php was the call. Now I realize it's just the plug-in and to do what you want to do I think you will need to hack it a bit.
Personally, I've dropped the social bookmark buttons from my blog altogether. Most of the services offer a toolbar and I've never seen an affect on my traffic stats one way or the other making it just one less plug-in I have to process.
Tekster
2008-05-13, 11:38 AM
Thanks Jeremy and walrus, since I am no good with php I think I will just forget about it.
ronnie
2008-05-14, 02:37 PM
Actually I wrote a post about this on my blog:
http://www.adulteverything.net/adult-webmasters/wordpress/addthis-social-bookmark-positioning/
vBulletin® v3.8.1, Copyright ©2000-2026, Jelsoft Enterprises Ltd.