/ Published in: PHP
Twitter have changed their api, and using the old twitter.com?status=… doesn't work anymore. This uses the new 'Web Intents' method.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<a href="http://twitter.com/intent/tweet?text=<?php the_title(); ?>&url=<?php the_permalink(); ?>" title=â€Click to share this post on Twitterâ€>