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
24 views

Comment Walker vs. Comment Callback

I've been messing around with custom comments this week and I'm trying to figure out when I'd want to use a walker and when I'd use a callback... There's some things I can't quite figure out how to ...
0
votes
1answer
10 views

Comment form not showing up without comments

My posts dont show the comment form unless that post already has comments. If post has one or more comments, everything works perfectly. Everything used to work fine (that's why some posts have ...
-3
votes
0answers
18 views

Comment form in my sidebar section

I want a comment form in my sidebar section (theme solar)When the user clicks send, they are immediately transported to a page that hosts all of the comments that everyone posts, arranged by ...
4
votes
1answer
87 views

How to allow the reply link to remain on the comment form after I have reached my 10 nested comment limit?

Is there a way to allow the reply link to remain on the comment form after I have reached my 10 nested comment limit? I don't necessarily need nested comments I just need the reply link to be always ...
0
votes
2answers
27 views

Custom comment field not showing when logged-in

I've added a custom field in comment by using function comment_label($fields){ unset( $fields['url'] ); $fields['rate'] = '<p class="comment_form_rate" id="rate_recipe"> ...
1
vote
1answer
17 views

Two steps comment form

Is it possible to have a comment form for anonymous users, that be proceeded in two steps. First step enter author info (Name and Email) then second step to add comment? I know this is possible with ...
-1
votes
1answer
21 views

Get Comment With Meta value

I need get all comments of a post including of the meta value.. for eg. i need all comments fields + a meta value. i tried the following code to get but.. its not working $args = array( 'status' ...
0
votes
0answers
14 views

I wish to hide the complete comment section/div on all the posts page after a particular time period

I wish to hide the complete comment section/div on all the posts page after a particular time period(i.e after like 5 minutes after landing on the post page). Tried different plugins but none of them ...
0
votes
0answers
25 views

Create Custom Comment Type

I have a page when I want multiple comment_template, so I want each of my comment_template to have different type so I see different comments in those 2. My get_comments look like this $args = ...
0
votes
1answer
23 views

Comment form not supported the image tags

I used the following code to enable image tags in the comment form. If I input the text with image upload, the image not displayed in the displayed comment. function my_comment_tags() { ...
0
votes
1answer
20 views

Comment section not appearing on posts

My comment section simply does not appear on posts, even though on my first couple test posts, it did appear. The current theme I'm using is Tesseract, in case that is relevant. Before that I was ...
0
votes
1answer
30 views

Change the tag of the comment submit button

The <input> tags does not allow/support many CSS properties, so I want to change it to <button>. How can I get that button and apply a filter to it?
0
votes
1answer
35 views

Wrapping the cancel_comment_reply_link()

This question is related to another question, unfortunately the answer provided does not work. I used to have a template to replace the comment_form() but since this practice is viewed in Themecheck ...
0
votes
0answers
28 views

How can one display the comments and comment form by supplying a post id?

I have a masonry layout of post images. When you click on one it shows the larger image and some event details. I'm trying to print the comment form along with those details. I've tried simply ...
0
votes
0answers
25 views

Comment form unset email

I want to remove the URL and email field from the contact form. I have removed using following filter: add_filter( 'comment_form_default_fields', 'filter_comment_fields' ); function ...
0
votes
0answers
40 views

Remove a field label from WordPress comment form

I can remove a field from the WordPress comment form using the comment_form_default_fields filter. However is it possible to remove only a specific field label instead of the field completely? I ...
0
votes
0answers
11 views

Troubles with Wordpress input ids

I'm developing a site in WordPress and I'm getting trouble with the comment form. I have a page that list all the post within a taxonomy. For each post in that page, I've added the form comment, so ...
0
votes
0answers
19 views

guest comments with existing emails

I'm implementing a comment form for a single-variant.php that guests are allowed to use. Unfortunately if a guest is using the E-Mail address of a registered user (admins for example) they are still ...
0
votes
0answers
21 views

Comment Form Name Field Not Showing

I have really simple code here to customise the WordPress comment form. My code is working but the custom fields just aren't showing. I am using WordPress version 4.3. Why is it not showing? ...
0
votes
0answers
11 views

Is there a way to allow visitors to respond privately to a comment?

I'd like to allow visitors to reply to a comment by filling a contact form that would send an email to the comment's author (eventually whith a copy to the site admin). This way visitors could send ...
0
votes
2answers
107 views

Echo out custom fields in comments

I am trying to figure out how to echo 4 created fields from a plugin in my theme template for the comment form and customize the comments output as well. The plugin I am using lets me add custom ...
0
votes
1answer
25 views

reply to comment excerpt instead of author in comment title

One can reply to a comment using Reply link, below each comment item in comments list. According to codex, by clicking that link and using comment_form_title function like this: $replytext = 'Leave ...
0
votes
1answer
9 views

Comment form Dissappeared in posts

I suddenly noticed that comments and comment form never shows up in my website's posts: Comments in page shows up. but in post there is no comment. In single.php I have the <?php ...
0
votes
0answers
16 views

Wordpress comment_form() doesn't submit comments

The problem is that comment_form() displays the form where to write comments, but clicking on the button send has no effect. I checked from wordpress admin area if users are able to post comments and ...
0
votes
0answers
14 views

How to use custom_query_var along with post_id for comments

I have introduced a custom_query_variable - brand in my permalink using the below function. function add_query_vars_filter( $vars ){ $vars[] = "brand"; return $vars; } add_filter( 'query_vars', ...
0
votes
1answer
37 views

How to add a category to comments?

I am currently trying to add a category to the comments on my wordpress site. I already added a title to these and tried several ways to add a dropdown (selection) list to the comment form but I am ...
1
vote
1answer
298 views

How to Remove novalidate attribute from comment form

I'm using html5 support for input formats and custom comment form fields with this code: <?php $commenter = wp_get_current_commenter(); $args = wp_parse_args( $args ); if ...
0
votes
1answer
18 views

Get Commentor IP When Marking Comment As Spam

What I am trying to do is create a list of IP addresses each time I click Spam on a comment. The only issue I have now is, how do I get the commentors IP address inside this function. This is what I ...
0
votes
0answers
28 views

How to modify core when there is no hook?

I want to add a custom HTML5 attribute to the <form> element in the comments form. Since the form field itself is generated by comment_form(), and there is no hook to edit within the opening ...
0
votes
0answers
20 views

Comments template only linking to one post

For some reason, the comments section at the bottom of each post (using single.php) seems to only be linked to a specific post on my blog, and only retrieves comments from that one post regardless of ...
0
votes
0answers
46 views

How to add a spam button to comments in frontend

I already have a delete link for my comments and it looks like this: <?php if ( current_user_can('edit_post', $comment->comment_post_ID) ) { ?> <?php $url = ...
0
votes
1answer
290 views

Outputting complete custom comment form

Need to implement the following bootstrap layout in twenty twelve comment form - <div class="sub-figure"> <div class="sub-post-title"> <h4 class="recent-title">Leave A ...
0
votes
0answers
13 views

Wordpress commenting in a site loaded via iframe

We've an issue here with WordPress loading via an iframe in a magento site. After posting a comment on the blog, the redirect to post comments is extremely slow and seems to timeout. Tried the ...
0
votes
0answers
22 views

Is it possible to have two or more comment forms in one page?

I want to be able to place two comment forms in a page. One should be fixed on top of comments and the other should be moveable through comment-reply.js I have tried to place two comment_form() but ...
0
votes
0answers
60 views

Comment form on page redirects back to frontpage

I have a page template with a single WP_Query what displays only one posts (Depends from the value of the $_GET. Example: domain.com/custom/?id=2). I would like to add a comments form I used ...
2
votes
0answers
28 views

Share comment to twitter after publishing [closed]

I need to share the comment from my web site after admin approves it from comment form to twitter account of user who comment for the post in my site. How can I do that?
0
votes
1answer
163 views

comment_post action hook running on page load instead of after a comment is posted

I am trying to call a function after a comment is saved to the database, see below... add_action('comment_post', 'myFunction', 10, 2); do_action('comment_post', $comment_ID, $comment_approved); I ...
0
votes
1answer
75 views

How To Customise WordPress Comment Submit Button?

I am trying to customise the output code of <?php comment_form(); ?> At the moment the submit button outputs the following: <p class="form-submit"> <input name="submit" ...
0
votes
1answer
104 views

Comments on future posts

I have enabled future (scheduled) posts to display as single post so on that page comments are enabled but there is a problem when i try to post comment. I get a blank screen without any warning or ...
0
votes
0answers
46 views

How to change comment-page-1#comment-25 to any string?

How can we change the slug "comment-page-1#comment-25" to somthing like review-page-1#review-25
1
vote
1answer
337 views

Comment form connection to Gravity Forms

I want to use the comment form I have built to then transfer data directly into an entry within Gravity Forms. I'm thinking it can work from this: Someone fills out comment form. If checkbox is ...
0
votes
0answers
121 views

Load comments_template for specific post

WordPress by default allows users to call comment_form() using a post ID that the form should be for. for example, you can say comment_form($args, '114'); to load the comment form for the post with ID ...
-2
votes
1answer
128 views

Questions about using Disqus or Jetpack for comments [closed]

I'm looking for a good commenting plugin, I want to choose between Disqus and Jetpack, but I have a few questions I couldn't figure out myself. Hopefully you guys can help me out! :) 1) Where are ...
-1
votes
1answer
248 views

Merge comments from Facebook with WP comments [closed]

I'm looking for a way to integrate Facebook comments (actual comments from facebook) into the comment section of a wordpress post? So what I need is; when someone comments on an URL-post on facebook ...
1
vote
1answer
726 views

How to display the comment_form with a shortcode while removing it from its default position?

I was already able to have the comments form show in the post content area with this code, which allows me to use the [wpsites_comment_form] shortcode: add_shortcode( 'wpsites_comment_form', ...
1
vote
1answer
171 views

“comments.php” not available after edit in WP administration

In the theme "Point", the page "comments.php" is not translated properly. I wanted to translate the labels manually (to french) in the WP administration editor but when I update the file, the comments ...
1
vote
1answer
85 views

How to change the order of the comment_form fields with css?

I would like to have the comment form display, from top to bottom: 1- the comment-form-comment; 2 - the comment-form-url; 3 - the comment-form-email; 4 - the comment-form-author; 5 - the submit ...
2
votes
1answer
80 views

Why are default comments deprecated?

I am developing a theme and, after calling comments_template(), noticed that "Theme without comments.php is deprecated since version 3.0". I created a comments.php in the root of my theme and copied ...
1
vote
0answers
608 views

comment_form() not showing on custom post type

I'm using Gravity Forms to create entries from forms, and Gravity View to display these entries on the Front-End. By default, Gravity Forms and Gravity View doesn't have a comment system for the ...
0
votes
1answer
663 views

Create customized captcha field to wordpress comment form without Plugin

I did asked a similar question some time ago but i couldn't get a useful answer. I would like to ask again. I actually wanted to add a field called "security" to prevent those autobot to send me ...