E-mail link for posts

30/08/2007
Author: Matthew Trevino | Categories: Code Snippets | Date: August 30, 2007
The Tags: ,

First off – the bug. Any post with a slug that is a number only comes up as “not found”. For my last post (”1984″) it would come up as not found until I changed the slug from “1984″ to “1984-itsallconnected” and presto – there it was!

As for the e-mail link like we have, place the code anywhere inside of the loop.

1
<a href=”http://www.feedburner.com/fb/a/emailFlare?itemTitle=<?php the_title();?>&uri=<?php the_permalink()?>“>Email this</a>


share | + Yahoo | + Google | + Furl | + Spurl | + Del.icio.us | + Digg | + Live | + Blogmarks



No comments yet.

Write a comment: