Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

in stackoverflow (here) there is a solution for collecting extra information from visitors, and i want to ask that, is it possible to show the collected information to other visitors in his/her comment section? Thanks...

share|improve this question

1 Answer 1

up vote 3 down vote accepted

In the link you have provided it shows how to get the value of the "collected" meta using

$twitter = get_comment_meta($comment_ID,'_twitter',true);

so all that is left for you to do is edit your comments loop and add the next few lines in it.

$extra_field = get_comment_meta($comment_ID,'_extra_field',true);
echo $extra_field;

Hope this Helps

share|improve this answer
    
Thanks for your help.. –  Alper Feb 27 '11 at 0:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.