Wordpress plugins
WP Twitip ID

WP Twitip ID

Version : 1.1
Tested up to : 2.7
Number of download : 6014
Author : Andy Bailey
Average rating : 0 / 5 on 0 votes 0 votes, 0 avg.rating

Screenshots

WP Twitip ID
WP Twitip ID
WP Twitip ID
WP Twitip ID

Details WP Twitip ID functionality: Adds an extra field to the comment form for user to enter their twitter username Echo out the twitter id associated with the comment being displayed Echo out a html link pointing to the users twitter page using “Click Here To Follow Me On Twitter” Display link as an image Ouput just the @ username Return the twitter id as a variable to be used by php Automatically display Twitter: @username Display html before the extra field Display html after the extra field Add a class name to the extra field disable javascript field addition for manual form editing Configuration Put field after object ID Enter the ID of the field or object that you want the extra field to be displayed after defaults to url Labels are before fields? If your comments.php file puts the label before the field check this box defaults to off Don’t use Javascript If you edit your comments.php file and add a field manually, you need to select this (manual adding requires field to have name=”atf_twitter_id”) defaults to off HTML before field Custom html you want to add before the field is added defaults to HTML after Field Custom html you want to add after the field is added defaults to Twitter ID (if you check labels are before fields, you can enter this html into the html before field Field class the class you want to apply to the field defaults to textarea Twitter Image URI Image url for image output Twitter anchor text Text to display in link for text output Adding to your template Open your themes comments.php file and add this line if(function_exists(wp_twitip_id_show)) { wp_twitip_id_show(“auto”); } You can use “image” or “text” or “user” “image” = show linked image using image url in settings page “text” = show text link using anchor text in settings page “user” = show just the @username “return” = return the twitter id as a variable for use in custom php “auto” = show Twitter: @commentluv in a span with class twitter_id example: within the comments loop (foreach($comments as $comment)) I put this below the date output in comments.php “return” = return the twitter id to be used as a variable example: I has a <a href="http://twitter.com/”>Twitter Account <?php }

Download now