Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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


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

Bookmarks



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 --yeah--wow 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 11:48 PM.


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