Can someone point me to tutorial as to how to add these to each post.
I can't seem to find anything.
Can someone point me to tutorial as to how to add these to each post.
I can't seem to find anything.
Check the stuff from this thread: http://wordpress.org/support/topic/81248?replies=3
Plugins that will add those links automagically for you.
Not looking for plug-ins... just want to know how to add them with simple code.
then wouldn't you want to be at digg.com and del.ikki going through their help areas?
I figured it was a simple insertion of code... if I'm wrong then I apologize
Idle curiosity: why are you not wanting to use plugins? The whole point to the sterility (relatively-speaking) of wp core code is that the functionality can be expanded upon using plugins.
Hi all
I'm the webmaster of eKstreme.com (linked above). Log analysis is good for you :)
Anyway: I agree that it is better to use plugins with WP. Actually, based on the code on the page linked above, I created a service called the Socializer ( http://ekstreme.com/socializer/ ) which with one link creates links to 40 or so social bookmarking services.
There is a plugin for the Socializer too: http://marketing.digital-landscaping.ca/wordpress-tools/wordpress-socializer-plugin . I use it on all my blogs and it works a treat. I recommend you use that instead of wasting space on dozens of links.
Pierre
Here is the code -- put it in the Loop.
<a href="http://digg.com/submit?phase=2&url=<?php urlencode(the_permalink()); ?>&title=<?php urlencode(the_title()); ?>&bodytext=<?php urlencode(the_excerpt()); ?>&topic=movies">Digg this</a>
See it in action at Cinema Minima News for Movie Makers.
Uh, my post disappeared!.
Here is the code -- put it in the loop.
<a href="http://digg.com/submit?phase=2&url=<?php urlencode(the_permalink()); ?>&title=<?php urlencode(the_title()); ?>&bodytext=<?php urlencode(the_excerpt()); ?>&topic=movies">Digg this</a>
thanks cinemaminima -- this was useful to me :) i didn't want to add a plugin when i could just code it into the template
and to those wondering why, i thought it would save a query or two -- but perhaps i'm wrong about that?
"Idle curiosity: why are you not wanting to use plugins?"
->Another reason is because you can be using wp as cms and the social icon appears everywhere.
I activated Alex King share-this and the social icon appeared everywhere; two times in my custom homepage, in every static page and in general, everywhere where I had the loop.
I watched the plugin code and finally I thought; damm it, I put links where I want in the template and I finish in a couple of minutes.
This topic has been closed to new replies.