Forums
Home / Fixing WordPress / how to add comment author company info
(@vivamundo)
14 years, 9 months ago
i googled this topic, but couldn’t find an answer on how to add
additional fields to my comment authors (form/database/output) like:
firstname, lastname and company.
so i added the fields in my form. but how to proceed, so the information would be saved and processed?
this follows: comment authors don’t have to register but need to fill in nickname and email.
thanks for any advise
(@ryans149)
check this:
http://wordpress.org/extend/plugins/more-fields/
(@shane-g)
Hi,
You can add this code in comment template:
<?php the_author_meta(‘user_email’); ?>
Replace with the author tag which you would like to display:
http://codex.wordpress.org/Template_Tags/the_author_meta
Thanks,
Shane G.
(@vivamundo)
14 years, 9 months ago
i googled this topic, but couldn’t find an answer on how to add
additional fields to my comment authors (form/database/output) like:
firstname, lastname and company.
so i added the fields in my form. but how to proceed, so the information would be saved and processed?
this follows: comment authors don’t have to register but need to fill in nickname and email.
thanks for any advise