Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Plugins & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=16)
-   -   Using WP Twitip ID Plugin (http://forum.bytesforall.com/showthread.php?t=722)

StudioGal Mar 11, 2009 09:51 AM

Using WP Twitip ID Plugin
 
Hi Flynn, I'd like to integrate the WP Twitip ID Plugin with my comments but I don't know where to add the code in the comments.php file.

The plugin instructions say

*******
Put this in your comments.php file where you want to output the link

"image" : outputs image pointed to by image url field (uses anchor text as title attribute)
"text" : outputs text link using anchor text
"return": returns twitter id as variable to be used in php
"auto" : returns Twitter: @commentluv (linked username in a span with class="twitter_id")
example: <?php if(function_exists(wp_twitip_id_show)) { wp_twitip_id_show("auto"); }?>

returns:
Twitter: @CommentLuv
For styling use .twitter_id { font-size: 10px; }
*******

So I presume I copy the "example" line above [ <?php if(function_exists(wp_twitip_id_show)) { wp_twitip_id_show("auto"); }?> ] and put it in the comments.php file.

Would you please point me to the best place to put the code? And do you have any further advice on using the plugin?

Many thanks!!

StudioGal Mar 14, 2009 10:58 AM

Anybody able to help on this! THANKS!!!!!!!!!!!!!!!!!!!!!

Flynn Mar 17, 2009 03:37 PM

Put it somewhere after

HTML Code:

<div class="comment-meta commentmetadata">
in functions/bfa_comment_walker.php

StudioGal Mar 18, 2009 10:55 AM

Thanks for this, will give it a go. I'm aware that I have to ftp the file to edit.

One of these days I must learn a little more about php programming so I can understand what's going on in these files!!

Cheers and thanks very much for your time and help. You do a fantastic job and I'm sure you don't always feel appreciated.


All times are GMT -6. The time now is 11:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.