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

0
votes
2answers
43 views

How to properly enable comments form in page template

I've applied the following code to enable the comment section in the page template. <div class="col-md-12"> <?php while ( have_posts() ) : the_post(); ?> ...
0
votes
2answers
135 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
2answers
546 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' =&...
-1
votes
2answers
193 views

Add custom captcha to comment form

I have a blog for my official website. I allow people for commenting on my blog but i don't want to get comment from auto-bot. Therefore, i am thinking of to add an extra field which is called "...
1
vote
1answer
196 views

Customize the cancel_comment_reply_link

As the title suggests, I want to modify or customize the cancel_comment_reply_link without editing the /wp-includes/comment-template.php. The code in comment-template.php looks like this: <h3 id="...
0
votes
1answer
26 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
32 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
29 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
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
1answer
50 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 ...
0
votes
1answer
86 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" type="...
0
votes
1answer
48 views

Insert comment and still use moderation

I have a custom comment form that inserts a comment outside of the loop and applies it to a post. I'm trying to get it to still use the moderation check before it marks as "approve". Is there a way to ...
1
vote
0answers
748 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 ...
1
vote
0answers
50 views

Disable comments

I'm wondering if there's any way to prevent users from leaving comments but still display the comments form? So, whenever a new comment is posted, it should be automatically trashed or it shouldn't be ...
0
votes
0answers
12 views

Add Second Custom Fields in Comment Form

i successfully add 1st custom field in comments form with name of "rate".. now i'm trying to add 2nd field with name of "rating" but fail. 2nd Field not showing in form after editing this code Need ...
0
votes
0answers
15 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
59 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
0answers
42 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
53 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
12 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
21 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
49 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
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
18 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
0answers
30 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
25 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
49 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
0
votes
0answers
110 views

Adding an input field to the comment form, and not letting it submit if any info is in it

I am working on a WordPress plugin that adds a hidden input field into the comment form. I have the code in place that adds the input field in, using this code. function hiddeninput_more_comments( $...
0
votes
0answers
192 views

wp-editor-area textarea disapear on cancel-comment-reply-link click

I am using this tutorial to implent the wp_editor in comments. everything went fine except when i click on cancel-comment-reply-link. the form move on to its initial position on the bottom of ...
0
votes
0answers
138 views

Editing default WP Comment Form

I am creating a new WP theme which is built on Bootstrap Framework. For making the comment for responsive certain class to be added to the element for the form. In the comments.php file I used the $...
0
votes
0answers
63 views

Display Comment Form on dedicated Page for each post

I have the following requirement to complete and i didn't figure out how to do it. Inside a post, for each post, to call comment form on a dedicated page, in dedicated page the user post a comment ...
0
votes
0answers
64 views

Wordpress Comments jQuery Doesn't submit

I am trying to check if the commentform is filled in after submition, and only submit it when it is filled in. I am using: $('form').submit(function (e) { e.preventDefault(); // Handle ...
0
votes
0answers
28 views

Commentform - Hightlight invalid fields instead of prompting towards error page

I have a huge problem. I used the comments.php from "EmptyCanvas". Code of it can be seen here: http://pastebin.com/YHDy2q4a However, it prompts me towards an error page when I do not fill out the ...
0
votes
0answers
41 views

Need an advice about comments

I am searching a solution for wordpress comments. I like standart comments, I already styled it and made some additionaly functionality. But there is one that I can't find and don't know how to make ...
0
votes
0answers
186 views

Saving comments not with PostID but different unique identifier

so here is the deal: I want comments to be saved not with the post ID but with another unique identifier. With disqus there is a way to do this with javascript: /* * * CONFIGURATION VARIABLES: THIS ...