WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to add a Digg and Del.icio.us link? (12 posts)

  1. bamassippi
    Member
    Posted 7 years ago #

    Can someone point me to tutorial as to how to add these to each post.

    I can't seem to find anything.

  2. Chris_K
    Member
    Posted 7 years ago #

    Check the stuff from this thread: http://wordpress.org/support/topic/81248?replies=3

    Plugins that will add those links automagically for you.

  3. bamassippi
    Member
    Posted 7 years ago #

    Not looking for plug-ins... just want to know how to add them with simple code.

  4. Chris_K
    Member
    Posted 7 years ago #

    then wouldn't you want to be at digg.com and del.ikki going through their help areas?

  5. bamassippi
    Member
    Posted 7 years ago #

    I figured it was a simple insertion of code... if I'm wrong then I apologize

  6. bamassippi
    Member
    Posted 7 years ago #

  7. vkaryl
    Member
    Posted 7 years ago #

    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.

  8. eKstreme
    Member
    Posted 7 years ago #

    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

  9. cinemaminima
    Member
    Posted 7 years ago #

    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&nbsp;this</a>

    See it in action at Cinema Minima News for Movie Makers.

  10. cinemaminima
    Member
    Posted 7 years ago #

    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&nbsp;this</a>

  11. chanzero
    Member
    Posted 7 years ago #

    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?

  12. ganzua
    Member
    Posted 7 years ago #

    "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.

Topic Closed

This topic has been closed to new replies.

About this Topic