I was pretty interested in the Twittar plug-in when it was first released and decided to look at the source to see how it works. Being a die-hard WordPress hack fanatic, I decided to create a hack using the Twittar code.
Follow these simple instructions to use Twitter avatars in your blog comments without a plug-in:
1. The first thing is to get the functions file here.
2. Once you have it, unzip the archive and open the twittar.php file. Select all of its contents and paste it in the functions.php file in your theme.
3. Now, open your comments.php file and find the comments loop. Then, just paste the following line where you’d like the Twitter avatars to be displayed:
Sunday, May 24, 2009
How To : Using Twitter avatars in comments without Wordpress plug-ins
Subscribe to:
Post Comments (Atom)
Feed Me
Followers
Blog Archive
-
▼
2009
(29)
- ► 23 Aug - 30 Aug (1)
- ► 7 Jun - 14 Jun (1)
- ▼ 24 May - 31 May (6)
- ► 17 May - 24 May (13)
- ► 10 May - 17 May (8)
2 comments:
this is awesome.. serious!
I am absolutely not a programmer and these instructions were straightforward and extremely easy to follow. how to install wordpress themes
Post a Comment