Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   Display comment author ip on comment fields (http://forum.bytesforall.com/showthread.php?t=16310)

m0r6h3us Dec 21, 2011 05:17 AM

Display comment author ip on comment fields
 
Hello,
to display comment author ip on comment template, just open

/functions/bfa_custom_comments.php

and change

<span class="authorname"><?php comment_author_link(); ?></span>

in

<span class="authorname"><?php comment_author_link(); ?><span style="float:right;color:#666; text-align: right;">ip <?php echo(comment_author_IP ()); ?></span></span>

I added the formatting code like: color: #666; float: right;

I hope everyone can enjoy that and

Merry Christmas to You!!! ;))))

by Adelio


All times are GMT -6. The time now is 12:45 AM.

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