Skip to content

Instantly share code, notes, and snippets.

@ajmorris
Created June 7, 2011 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajmorris/1012299 to your computer and use it in GitHub Desktop.
Save ajmorris/1012299 to your computer and use it in GitHub Desktop.
// Code for your custom functions file.
function aj_post_meta_below_title_right() {
?>
<a href="http://twitter.com/share" class="twitter-share-button" data-url="<?php the_permalink(); ?>" data-count="horizontal">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> <g:plusone size="medium" href="<?php the_permalink(); ?>"></g:plusone>
<?php
}
add_filter('headway_post_meta_below_title_right', 'aj_post_meta_below_title_right');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment