If we have a blog with multiple authors is there a way for each to have a “follow me” twitter button separated. Meaning when we see the post of an author we see only the twitter button with the author account. Or because is a one blog the only option is a Follow us button meaning one account for all the authors?
Leave a Reply
You must be logged in to post a comment.
If you are using a follow button plugin like the one in my Simple Twitter Connect plugin, then you should be able to specify the user you want the button to be for.
So for example, with STC, I’d activate STC-Login and the STC-Follow Button Widget plugins. Then I’d have my users “connect” their twitter accounts and their WP accounts (STC-Login lets them do this on the Users->Your Profile page). That way it knows what their twitter accounts are.
Then this code in a theme should do the trick:
You’ll have to put that code into the Loop or somewhere after it, so that the get_the_author_meta() function knows what user to look for.