最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

customization - Adding Custom Fields to WordPress Comment Forms?

programmeradmin6浏览0评论

What is the best way to add custom fields to a WordPress comment form? (for example subject, image, etc...)

And how do I use the data entered afterwards...

What is the best way to add custom fields to a WordPress comment form? (for example subject, image, etc...)

And how do I use the data entered afterwards...

Share Improve this question edited Sep 20, 2010 at 3:47 hannit cohen asked Sep 4, 2010 at 20:01 hannit cohenhannit cohen 1,5317 gold badges21 silver badges33 bronze badges 1
  • Can you please review your question and Mike's answer? – hakre Commented Dec 26, 2010 at 14:11
Add a comment  | 

2 Answers 2

Reset to default 4

Hi @hannit cohen:

This slideshow from Beau Lebens should be able to show you how:

  • Hooking into Comments

And this blog post from Otto should be able to show you more:

  • WordPress 3.0 Theme Tip: The Comment Form

My newly updated plugin (version 2) is available here http://www.solaceten.info/wp-extra-comment-fields-v2

Now fully automated and compliant with WP standards :-)

You can add extra comment fields automatically using the plugin, make them public or private, and make them mandatory or not.

Use radio, text fields or dropdowns! Lots of options :-)

发布评论

评论列表(0)

  1. 暂无评论