[HELP] with Wordpress and PHP File

lastkiss

Newbie
Joined
Apr 29, 2009
Messages
31
Reaction score
5
Help me please...

Software : wordpress 2.8.4

I want to show IP Commenter in comment list
like this :

2rr6x5e.png


How to do that??

I can put PHP code in commentlist, but i don't know, how to write php code

Help me please..

Thanks
 
Put this code where you want the IP to go:

Code:
<?php echo $_SERVER['REMOTE_ADDR'];?>

This code only show visitor.. :(

I want every comment ( below post ) have IP.. :confused: :confused:

Like this :
1z359xs.png


Please..
 
Oh sorry, what about that plugin that ericsson said? I'd think there would be a plugin for this, if not, I could probably write one this weekend and possibly release it by Monday, it seems like one that would be useful for people.
 
Oh sorry, what about that plugin that ericsson said? I'd think there would be a plugin for this, if not, I could probably write one this weekend and possibly release it by Monday, it seems like one that would be useful for people.

We will waiting your script Guy's..
This is will be great release..
 
Sorry, this is already worked into Wordpress, the usage is this:

Code:
<?php comment_author_IP(); ?>

Just put that in the comment loop.
 
working :)
Just go to comment.php, a little edit and done

Thanks
 
Back
Top