Tagged Questions

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

1
vote
1answer
115 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 ...
0
votes
2answers
390 views

Actual comments not showing, but form is?

I have edited the comments form to remove a few fields and now the approved comments don't show up, just the form itself. What am I missing from this? <?php $comment_args = array( 'fields' ...
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
1answer
1k 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( ...
2
votes
1answer
285 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
1answer
162 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
137 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
840 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
votes
1answer
40 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
273 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( ...
2
votes
1answer
168 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 ...
1
vote
1answer
358 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. /** ...
1
vote
0answers
141 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
2answers
269 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) { ...
0
votes
2answers
2k views

Comments Reply Form

When I click on Reply, the reply form appears at the bottom of the page (under the last comment). How can I add the Reply Form inside the comment to which I am going to add the reply?
0
votes
2answers
274 views

Adding guestbook to my wordpress site

I´m trying to add something like a guestbook, where the user can write about our services, something like comments with few more content like country, facebook page... should i do this with a single ...
7
votes
5answers
3k views

How to rearrange fields in comment_form()

Im using a custom filter to change the fields, but can´t figure out how to change the order of the fields in the comment form. Desired order: comment field (first/top) name email website This is ...
0
votes
1answer
60 views

Output comment_author in array

In functions.php for part of custom comments, I have the following echoed array as the link to respond to a previous comment: <?php echo comment_reply_link(array( "before" => " <span ...
0
votes
1answer
511 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 ...
1
vote
1answer
275 views

Force logged in users to still fill out name/address for commenting?

This is a bit of a weird request, but I'd like to force loggged-in users (one specifically) to fill out the standard not-logged-in name / email address fields before submitting a comment on the site. ...
1
vote
3answers
791 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.
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 ...
0
votes
1answer
179 views

comment_form - show all fields when logged in

I'm using the http://codex.wordpress.org/Function_Reference/comment_form in my comments. If logged in I'm seeing only the textarea for my comment, not the fields for e-mail and name. Question Is it ...
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 ...
0
votes
1answer
92 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?
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 ...
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"> ...
2
votes
1answer
752 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
2answers
203 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
572 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
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 ...
0
votes
1answer
105 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
264 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 ...
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 ...
2
votes
1answer
171 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., ...
1
vote
1answer
299 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 ...
4
votes
6answers
10k views

How to add a class to the comment submit button?

How do I add a class to the comment submit button? The simplified function comment_form(array('id_submit'=>'buttonPro')); obviously only changes the id and class_submit does not seem to exist. I ...
0
votes
1answer
151 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 ...
3
votes
1answer
603 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
1answer
3k views

comments reply script not working

Sadly my "reply" link for threaded comments is not working. The current situation: First i load the comments reply script (check if scripts content load: works) into the <head> using two ...
1
vote
2answers
565 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?
2
votes
5answers
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 ...
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
753 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
3answers
267 views

how to modify comments form

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

How To Remove The “Click here to cancel reply” Link From The Wordpress Comment Form

I am trying to remove the "Click here to cancel reply" link from the Wordpress comment form on my posts. In the document there is an argument you can supply to the comment form function to remove the ...
1
vote
2answers
6k views

How to display comment form error messages in the same page

I want to display comment form validation errors (as well as captcha error) on the comment form itself and not on a different page. How can I do that?
0
votes
3answers
756 views

How to add a “policy text” just before the comments? [closed]

Is there any plugin that can do that?