The comment-form tag has no wiki summary.
3
votes
2answers
1k 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 ...
3
votes
5answers
1k 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 ...
3
votes
1answer
555 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
2answers
2k 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 ...
2
votes
1answer
79 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
124 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 ...
2
votes
1answer
109 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
480 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 ...
2
votes
1answer
133 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., ...
2
votes
0answers
69 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
5answers
937 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
3answers
1k 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">
...
1
vote
5answers
4k 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 ...
1
vote
4answers
1k 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
394 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 ...
1
vote
1answer
2k 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
1answer
54 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 ...
1
vote
1answer
73 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
91 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
2answers
435 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
3answers
244 views
how to modify comments form
how i can modify comments form, my theme just call:
<?php comment_form(); ?>
1
vote
1answer
69 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:
...
1
vote
1answer
66 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
90 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
300 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
154 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
vote
1answer
190 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
3answers
502 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
3k views
How to dispaly 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 ?
1
vote
1answer
41 views
Including new Javascript only after a comment is made
I am looking to call a new javascript function only after a new comment has been made by a user. Specifically, I want to include new javascript on the resulting page of the page reload after ...
1
vote
0answers
101 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 ...
1
vote
1answer
191 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
1answer
223 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 ...
0
votes
3answers
533 views
0
votes
3answers
3k 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
654 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 ...
0
votes
2answers
125 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
1answer
623 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.
...
0
votes
3answers
67 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 ...
0
votes
2answers
146 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 ...
0
votes
2answers
182 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
116 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 ...
0
votes
1answer
23 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
2answers
353 views
enable TinyMCE for comment forms
Is there any way in Wordpress to use a richt-text-editor (preferable the build in TinyMCE) on the comment form textarea in the frontend? I had such a feature in earlier versions, using the plugin ...
0
votes
1answer
729 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
421 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( ...
0
votes
1answer
330 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
2answers
721 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
97 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 ...
0
votes
1answer
76 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?
