Twitter Profile Field
I’ve created my first WordPress plugin. Twitter Profile Field is a simple WordPress plugin there gives you a new box in your profile admin to add in your Twitter username.
It does also include a shortcode to allow you to display your Twitter username in posts, pages and text widgets.

Installation
- Download the plugin and unzip it.
- Put the twitter-field folder into the
wp-content/plugins/directory. - Go to the Plugins page in your WordPress Administration area and click ‘Activate’ next to Twitter Profile Field.
- Go to your Profile page and at the bottom of the page is a new input field called Twitter username. Add your username in there.
- If you want to add the function to your theme file(s) then use:
‹?php the_author_meta('twitter'); ?›if it’s INSIDE the loop or use
‹?php the_author_meta('twitter',1); ?›if it’s OUTSIDE the loop. 1 is the User ID - If you want the username to be showed in posts, pages or text widgets then use:
jayjdk It will display the username without any markup
jayjdk will display the username with a link and the classtwitter-profile(<a href="http://twitter.com/username" class="twitter-profile">Username</a>)

Download Twitter Profile Field
Please use this comment form for support.
jul 24 2009






Seneste tweets
Works great, thank you