Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Comments, trackbacks & pings »

Display comment author ip on comment fields


  #1  
Old Dec 21, 2011, 05:17 AM
m0r6h3us
 
12 posts · Nov 2009
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

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to move the comment author name and reply link below the comment sober Comments, trackbacks & pings 1 Sep 4, 2011 12:21 PM
[SOLVED] Website in comment form leads to author name as a link in the comment list yeahwow Comments, trackbacks & pings 2 Jun 2, 2011 08:34 PM
add custom comment fields Seidlm Comments, trackbacks & pings 1 Aug 23, 2010 05:23 AM
Styling the Comment Fields... eric41 Forum How-To 10 Aug 18, 2010 07:47 AM
Modying comment author display markelshark Comments, trackbacks & pings 3 Apr 24, 2010 03:02 PM


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


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