Share link via new Twitter

/ Published in: PHP
Save to your folder(s)

Twitter have changed their api, and using the old… doesn't work anymore. This uses the new 'Web Intents' method.

Copy this code and paste it in your HTML
  1. <a href="<?php the_title(); ?>&url=<?php the_permalink(); ?>" title=”Click to share this post on Twitter”>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.