Erik’s Blog: Board Shorts and Business Suits

Building Bussiness Systems from the Shores of Waikiki

Entries Comments



Add post to de.licio.us link to your blog

29 January, 2006 (08:49) | HTML Tips, Wordpress Tips | By: Erik

Do you want to add a post to del.icio.us link to your post’s without using the WordPress plugin that is available from Arne Brachhold? Or maybe you want to just add it to you blog that’s not php based. Then you can use this simple html link.

<a href=”http://del.icio.us/post?url=< ?php the_permalink() ?>title=< ?php the_title(); ?>” target=”blank”>post to del.icio.us</a>

All it is is a link to del.icio.us using their post link and adding some of your php code. If you look at your main or index.php template from your presentation-theme editor tab you should find the if posts loop. Follow this loop down to the bottom just before you begin to see the php code for the comments section. Right above that is the end of your posts. Copy and past the above code below the php the_content code. This will insert a post to del.icio.us link on every one of your posts.

You can play around with the code and add it elsewhere if you’d like. If you don’t have a php blog figure out what you use to insert the permalink and title, or you can just insert real html http:// links after the “url=” portion and different titles in the “title=” section. Mess around with it but this is the easy way to add the post to del.icio.us link at the end of your posts.

Aloha,
Erik

Comments

Comment from Pavel
Time: May 8, 2006, 5:52 am

It is old artickle….

Write a comment