Forums
Forums / Plugins / Hacks / comment_form
(@skidevil)
15 years, 5 months ago
Hi,
I generate my commentform via the function comment_form (see: http://codex.ww.wp.xz.cn/Function_Reference/comment_form )
As a result I get something like:
<form action=”…/wp-comments-post.php” method=”post” id=”commentform”>
Is there any chance that I can generate the name=”” tag so that I get something like:
<form name=”comments” action=”…/wp-comments-post.php” method=”post” id=”commentform”>
comment_form() allows to input some arguments, such as the id=”” of the form but not the name. Anyone has an idea how to manage that?
Regards
15 years, 4 months ago
Any suggests?
(@t-p)
see these guides if they can help you:
http://codex.ww.wp.xz.cn/Function_Reference/comment_form
http://ottopress.com/2010/wordpress-3-0-theme-tip-the-comment-form/
The topic ‘comment_form’ is closed to new replies.
(@skidevil)
15 years, 5 months ago
Hi,
I generate my commentform via the function comment_form (see: http://codex.ww.wp.xz.cn/Function_Reference/comment_form )
As a result I get something like:
<form action=”…/wp-comments-post.php” method=”post” id=”commentform”>
Is there any chance that I can generate the name=”” tag so that I get something like:
<form name=”comments” action=”…/wp-comments-post.php” method=”post” id=”commentform”>
comment_form() allows to input some arguments, such as the id=”” of the form but not the name. Anyone has an idea how to manage that?
Regards