This tag outputs a complete commenting form for use within a template. Most strings and form fields may be controlled through the $args array passed into the function, while you may also choose to use the comment_form_default_fields filter to modify the array of default fields if you'd just like to ...

learn more… | top users | synonyms

2
votes
1answer
736 views

Add a drop down list to comment form?

Can somebody help me to create a drop-down menu or (radio buttons) in Wordpress comment form, so that a new user could make a selection of their user roles (for example teachers + students) ? Output ...
3
votes
1answer
223 views

Custom Comments - Parent / Nested Reply

I am making a custom theme and have edited comments.php, but I'm unable to get the comments to save as a reply to another comment. I have succeeded in showing the comment parent id to show as a hidden ...
1
vote
4answers
3k views

Add class to Reply button in Comments area

Under each comment there is a link called 'Reply'. I want to add a class to this link. It's default class is comment-reply-link. How can I do so? I am creating my own theme and I don't want to ...
0
votes
1answer
38 views

Returning error upon comment being flagged as spam

Hello Im using a custom filter that hooks to pre_comment_approved to look for bad words in a custom way. Now when the comment gets flagged it returns spam. How could I post back an error to the ...
0
votes
0answers
318 views

Multiple comment forms on one page cause message - ERROR: please type a comment

Instead of clicking reply on my comments I have them laid out with a reply form already showing underneath each comment. Each form has been populated with the post_id and the comment_id and looks ...
0
votes
3answers
454 views

adding a text message beside the comment submit button

What is the cleanest way to display a text message beside the submit button like this in screen shot: I am currently doing it by editing the file wp-includes/comment-template line 1577 (wordpress ...
1
vote
1answer
542 views

How to add enctype to multipart/form-data to comment form?

I need a way to change the encoding type for my comment form, without hacking the core files. I'm aware of the function to work on the post editing form: post_edit_form_tag. I've tried this: ...
0
votes
1answer
1k views

customizing TwentyEleven comments template

Typically I don't utilize comments on my sites, however I'm using the comments functionality as a sort of live-feed testimonials page. To do this, I've borrowed comments.php and the comments portion ...
0
votes
3answers
4k views

Ajax submit comments

I want to submit comments via ajax. CLick the comment submit button, comments gets posted via jquery's ajax method and the result ("Awaiting moderation...") is displayed on the page. I went into the ...
0
votes
2answers
243 views

Remove field in the form : only works for “url”, not for “email”?

I would like to remove the email field in the comment form. It works for url but not for email : the email field is still there. Do you know why? <?php function url_filtered($fields) { ...
3
votes
1answer
181 views

Deep customization of the comment form?

I've been handed over a design to translate into WordPress plugin & theme. My question is regarding building a custom comment form. The design used some custom scripts on the comment submit ...
2
votes
1answer
163 views

Edit Comment_Field while using T5 Comment Textarea On Top-Plugin

I’m using the T5 Comment Textarea On Top-Plugin for the comment_field. I’m a newbie to wordpress. So I don’t know, how can i edit the Style of the comment_field or edit the Label? Usually I would put ...
2
votes
1answer
266 views

Show comments fields in two columns

I am using comment_form(); in loop-single.php file to show the comment form. I have the following fields in it: Name, Email, Website, Title, Comment. Currently all these form fields show underneath ...
1
vote
3answers
770 views

Change order of comment fields

Is there a way to display the comment field first and then the Name / Email / Website fields? I am using <?php comment_form( ); ?> in my theme. I am not looking for a CSS solution.
1
vote
1answer
216 views

Display comments on a comment page without form

I'm using this to allow me to display my comments for posts on category pages: <?php $wp_query->is_single = true; comments_template(); $wp_query->is_single = false; ?> However I don't ...
1
vote
1answer
111 views

How to enable commenting system in Wordpress

I am learning how to create custom Wordpress theme from this pageand everything is working except commenting system because they haven't described how to enable it (they only used <?php ...
1
vote
1answer
108 views

The comment login form is visible to me but not to the user

I am beginner in wordpress & i am working on my own blog ( http://cssground.com/ ). Right now i am facing an issue with the comment form. The comment form is visible to me & it's work fine but ...
0
votes
1answer
852 views

custom comment_form fields not displaying

My ideal comment form will have 3 fields- Name, Location, Comment. I'm using the following bits of code- comments.php <?php comment_form( array( 'fields' => apply_filters( ...
1
vote
1answer
153 views

Making a Comment on a page without being on that page?

I have a built a Wordpress site that enables comments on pages and I am using them as reviews, what I would like to do is for someone to be able to make a comment on a page without being on that page. ...
1
vote
1answer
127 views

Jetpack Comments with fall-back

I'm developing a theme based off of bones - I went ahead and edited the comments.php file - the comments form is hardcoded - I assumed this was the right way to do things so I carried on and ...
1
vote
1answer
729 views

Error when posting comment form: The error is TypeError: e[h] is not a function

I am getting an error when the function below posts the form (from the second time, the first time it is blocked). When I click the submit button after this, the form submits without problem. The ...
1
vote
1answer
257 views

How to change the order of elements in comment_form()

I’ve put the class for 'logged_in_as' into another container to display the content in another column: <div id="content-form"> <?php $fields = array( ...
-1
votes
1answer
39 views

Reply form used in wordpress.com

The reply form that comes originally with wordpress is, well, so big and annoying. While the one that appears on wordpress.com blogs is very elegant and feature-ful. Does the one used in ...
1
vote
1answer
321 views

Saving value of a selection option in comment form as comment meta

In a plugin that I am writing I need to let user choose an option from a dropdown list before they post a comment. I used the comment_form action and inserted a drop down into the comment form. /** ...
0
votes
2answers
1k views

How to remove or customize “Comment” in comments form?

As you can see in the picture: "Comment" label displays always in the same place. How can I remove it or customized it? I really don't know what function controls this label. Part of my comments.php ...
2
votes
2answers
4k views

Help with “text domain”, comments_form in WordPress theme

I've been plugging away at creating my own theme and am pretty much there, but ran the Theme Check plugin and had a few concerns/questions: Throughout the theme, wherever there is text, I've used ...
4
votes
2answers
2k views

Removing the “Website” Field from Comments and Replies?

In an effort to combat comment spam, I'd like to hide or remove the "Website" field from the "Leave a Reply" section for page and site comments. I have no desire to increase others page rankings by ...
1
vote
0answers
132 views

Disqus Comment System not working [closed]

I've recently got myself Disqus for my blog. Worked fine until today. I don't know what I did - I tried disabling all the plugins, switching between versions 2011 and 2012. Also cleared the cache and ...
0
votes
1answer
41 views

add field comment [duplicate]

Possible Duplicate: Add Comment Custom Field Add Comment Custom Field I'm also interested with this, but where should I put those codes? help me guys..
0
votes
1answer
148 views

How To Detect Posted Comment in Theme Development?

A theme normally posts to wp-comments-post.php when someone leaves a comment. When successful, it does a redirect to the page again but tacks on "#comment-" into the URL. What I was wanting to do was ...
2
votes
1answer
710 views

Changing position of cancel_comment_reply_link and other elements of comment form

How would I move elements of the WordPress comment form, which is called in comments.php with the following: <?php comment_form(); ?> For instance, I'd like to wrap cancel_comment_reply_link ...
0
votes
1answer
496 views

Facebook comment url is unreachable

i've added facebook comments on my wordpress blog, it's working fine and everything but on some pages it displays the comment box and under it it gives a warning url is unreachable and it doesn't show ...
0
votes
1answer
1k views

wp-comment-post.php and header already sent issues

I'm new here and I really hope somebody can help me. I've tried alone for many days, found a lot of solutions that worked for others, but that didn't work for me and so I really hope somebody here can ...
1
vote
3answers
3k views

Using filter to add additional fields to comment_form()

I want to add a field to the comments and have used these codes. functions.php function my_fields($fields) { $fields['url2'] = '<p class="comment-form-url2"> ...
0
votes
1answer
90 views

How can I remove the comment form on one or more specific pages in twenty eleven?

I would like to remove the comment form on one specific page. Is this possible?
2
votes
1answer
166 views

Threaded Comments Feature not working

If a reader posts a comment on my blog, I'm able to reply to it. But the reply is not appearing on the post page, even after approving the comment. Number of comments to that specific post is 3, i.e., ...
0
votes
2answers
196 views

Commentform input area issue

This is probably really simple, but I just can't figure it out. So I change the input form on my comment form php. The changed snipped looks like this: http://pastebin.com/3Mj1XHGJ Yet when somebody ...
0
votes
1answer
104 views

How translate it? Intensedebate

http://www.part.lt/img/4490330b04db19a9043999a460246e39489.JPG (IMG) Look at yellow background. How translate it, to Lithuanian lang? Thanks! I using IntenseDebate comments system.
0
votes
1answer
555 views

Comment_form and GD Star Rating

I'm finding GD Star Ratings a bit complex to work with. I'm using the comment_form function to generate a custom "review" form on a custom post type. At the top of the form, I want reviewers to leave ...
0
votes
1answer
258 views

How to add extra field in admin comment section

I wish to add extra field in post comment section while admin is logged in. Screenshot I just add subject field in template comment form.But i couldn't store in db and retrieve it. How can i do ...
3
votes
1answer
599 views

Hide comment form completely (preferably without using CSS)

I need to conditionally not show the comment form. I've added a filter to comment_form_defaults as follows: function dont_show_comments($defaults) { $defaults = array( 'fields' ...
2
votes
5answers
2k views

How can i customize the comment list

I am using wp_list_comments() function to draw the comment list.But,I want change many things in the form like class,styles, reply link and etc... so please help me, How can i customize the comment ...
1
vote
1answer
288 views

blank page after submitting a comment

I was testing a new website with Chrome (latest build), everything working fine (no new plugin installed during the test) when suddendly when I try to post a comment, after pressing the "reply" button ...
2
votes
3answers
265 views

how to modify comments form

how i can modify comments form, my theme just call: <?php comment_form(); ?>
1
vote
2answers
531 views

Hide reply button after moveForm is called

When user clicks on Reply button for a specific comment, how can I then hide the reply button under said comment? Do I have any access to the javascript onclick function that it calls?
1
vote
1answer
1k views

Default comments file and how to copy it

I have a custom theme. There is no comments.php file, Wordpress is using whatever the default is. I need to modify the comments area, but I want to base my changes off of the default template. Where ...
0
votes
1answer
94 views

Fix threaded comments

http://anasianscreations.co.cc/jeffman/blog/uncategorized/hello-world/ I have looked all day for a solution but whenever you click on reply to this comment, instead of the comment box being displayed ...
0
votes
1answer
722 views

Why could my comment_form variable not be working?

I'm working on a custom theme that is based off of Starkers html5 3.0 and use that theme's comment system. I have followed custom_form tutorials by Otto, Soapbox Dave, forlogos, and Deluxe Blog Tips. ...
2
votes
1answer
572 views

Does WordPress Allow Blank/Empty Comment Submissions In WordPress?

I've got a great Comment Form and Threaded Comments setup by using the native WordPress functions: comment_form and wp_list_comments. However, I'm trying to also create a custom Contest Comment ...