Comments allow your website's visitors to have a discussion with you and each other. When you activate comments on a Page or post, WordPress inserts several text boxes after your content where users can submit their comments.

learn more… | top users | synonyms (1)

0
votes
0answers
9 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 ...
0
votes
0answers
10 views

How can I change the markup of the comment_form() function?

I am currently creating a website on localhost. I am looking to change the cancel_comment_reply_link from being next to the "Reply to " section, instead being right next to the "Submit" button. I know ...
0
votes
1answer
22 views

Exclude the word comment from being referenced

Lately i m trying improve my SEO, and i found in Google Webmaster Tools that the mains keywords are 'Comment' & 'Read more' it s a bit frustrating. How can I say to the search egine dont ...
0
votes
1answer
15 views

Why is a old comment reply comment appearing at end of comment list as well

EDIT: Updated function to use get_comments offset param. Issue is still occurring. I am displaying 5 comments at the end of an article and using ajax to request the rest of the comments. On this ...
0
votes
1answer
16 views

How to open up comments to all visitors

The "Leave a Reply" section at the bottom of my pages is asking for a login before visitors can comment. Is there any way I can turn this off so anybody can leave a comment?
1
vote
1answer
13 views

Editing WordPress comments : generating comment from selection

On my website, I would like users to comment using a list, which will then generate a comment for the user. For example, the comments section will have a multi-select box asking " which part of the ...
0
votes
1answer
21 views

A Space being added to url generated by custom plugin

<?php /* Plugin Name: Convert Comment tag to link */ add_filter( 'comment_text', 'mh_commenttaglink' , 5000 ); function mh_commenttaglink( $text ) { // RegEx to find #tag, #hyphen-tag with ...
0
votes
2answers
27 views

How to add text to the start of all comments?

For example somebody replies- Hi! This is a Comment! but is published as Text- Hi! This is a Comment! Any ideas folks? I'm totally stumped. I want to add the extra text so it appears within the ...
0
votes
1answer
23 views

Some comment box wordpress in 1 post [closed]

Can I add more sections to comment on the same post? For example, I have an Entry and it has 4 tabs, In every tab you need a comments section, Is this possible? Thanks
1
vote
1answer
36 views

Disqus comments and pingback script - how to change the order?

I am using the "modular demo solution without wp_list_comments()" for showing trackbacks and pingbacks next to Disqus comments. And I would like to know how to change the order of output? With these ...
0
votes
1answer
19 views

get_comment_meta not behaving as expected

I'm sure this must be a silly error by me but I haven't been able to solve it... I added an extra 'rating' field to my comments form so that users can rate posts. Everything works fine and by using ...
0
votes
0answers
18 views

get_comments function returns diffrent values on different accounts, why?

If I am on my admin user, the function get_comments() returns the array of comments in the template, but for the subscriber, the array is just empty. I tried to add permission to the user but it ...
1
vote
1answer
25 views

Add action on delete comments?

I add some input fields to the comment form, and than this new data is stored on commentmeta table. When a comment is deleted, the data on commentmeta is still there. How can I delete these data ...
1
vote
0answers
12 views

Prioritizing the wordpress comments

I want to change the order of the post comments i.e the main comment should be in desc order (recent comment should display first) but all the reply to the main comment should be in inc order(latest ...
0
votes
1answer
13 views

How do comments work?

I click the comments button in my admin dashboard and I only see 1 comment. I disabled comments on my website and it's not even from my website, it's from another website, looks like they linked to a ...
0
votes
0answers
25 views

How to avoid comment form outputting user id

I have a comment form on a website and here is the code for outputting comments: <ol class="comment-list"> <?php $arg = array( 'number' => 10, ...
1
vote
0answers
21 views

delete duplicate comments

I found a solution for this a long time ago. Here is the code: <?php require_once('wp-config.php'); global $wpdb, $comment_content, $comments,$comment_ID; # First select all comments $query = ...
4
votes
2answers
99 views

Check If comment author is registered

It should be simple, but I tried some codes, none does the trick. Searched on Google, nothing there either. Simply check if the comment author is a registered user (so I can add some code for it), ...
0
votes
1answer
22 views

Getting error while trying to use custom comment function

I'm trying to write a function that will allow me more control over the display of comments on a post page. However I'm confused about how to set it up so WordPress can use it. right now I get the ...
-1
votes
1answer
98 views

prevent duplicate comments using wp_insert_comment

i am trying to import facebook comments to wordpress what iam doing is get the graph of the facebook post Comments, json decode it then i import the comment via this code so my code so far is ...
0
votes
2answers
16 views

Remove Commenting on Certain Pages

I have created some pages in wordpress like "Contact, Photo-Gallery, Services". Problem is - on every of those pages at the bottome there is a form for commenting a page. I do want to have this ...
1
vote
0answers
19 views

Placed on + only date (not time)

When I create a comment or, ... you can set Placed on. For example: 20 june, 2014 on 14:23 . But I don't want the time (14:23). Only 20 june, 2014. Is this possible, and if so, how can I do this? ...
0
votes
1answer
37 views

Change username to nickname in comment section

Is it possible to change the username to nickname in the comments section? Here's the code I currently use to show the user's username in comment section: <?php /* translators: 1: comment ...
0
votes
0answers
43 views

Admin comment always on top of comment list / nested replies - possible?

I'd really just like a push in the right direction for this.. using a callback for a custom comment display so I can have 4 different forms of code and styles for: normal 'parent' comment normal ...
0
votes
1answer
52 views

How to add custom comment fields but *only on the comment reply form*?

I've been searching high and low for this but can't find anything that explains how to add custom fields to only the reply form. I've seen and got working custom fields on the comment form, but when a ...
0
votes
1answer
25 views

Current user comments + post title

I want to show current user comments with the title of the posts in his custom front-end page that I made. currently I use this code but this only shows the comment itself. add_shortcode ( ...
0
votes
1answer
27 views

Can't reply to comments [closed]

I can't approve or reply to comments via the dashboard. Approving just returns the comments. And quick reply doesn't work and it says page not found and shows a whole bunch of code in red, nothing too ...
0
votes
0answers
14 views

Getting comment-reply to load

I am trying to get the comment-reply.js script to work, and at the moment I am having problems including it in my pages. Currently, I am using the following in my header.php file: <?php if( ...
2
votes
2answers
105 views

feed links for custom post type pages

I have a WP based site with a lot of pages based on custom post type. But I see a lot of 404-links in the Google Webmasters finished with /feed. It looks like default WP function, when WP adds /feed ...
1
vote
1answer
28 views

If there is a comment_author_link put url around the avatar image

In the functions.php file for my theme the .commentslist shows a gravatar and if the user fills in a url in the comment form, you get a comment_author_link() Which prints a link with the name. I ...
0
votes
1answer
20 views

How to wrap comment_form $fields in one div?

Is there a decent standard WP way of wrapping the 3 standard fields (name, email, website) in a div? I'm using bootstrap and would like them to be in their own row. Example: <?php ...
0
votes
1answer
16 views

Problem displaying replies as part of author's latest comments on author page

I've based a lot of my method on this thread here I can currently display 5 latest comments on an author template page. I want to display the latest 3 replies from any user for each 'main' comment ...
4
votes
1answer
153 views

How to change “You must be logged in to post a comment.”

Some of my users have mentioned that my site is confusing for them. As this is the case, I would like to actually make links to Login/Register for my unregistered visitors to quickly do so if they ...
1
vote
1answer
53 views

Add classname comment template from functions.php

I want to add an extra classname to my comment template (the div wrapper before the post itself) which is stated in functions.php. The classname in functions.php is an extra field in my users profile ...
0
votes
0answers
20 views

My Admin Not Receiving Comment Notifications

I have an issue where my admin is not receiving notifications when she receives a new blog comment. All setting is discussion are set up for her to receive emails and she is the only user on the site. ...
0
votes
1answer
30 views

unsetting required fields in the comment reply form

Is there a way to make differences between the normal comment form and the reply-to-form? For example, I added a set of required radiobuttons to the form which make rating by commenting happen. Now, ...
3
votes
1answer
95 views

How can I edit the email sent when a new comment is received?

I have a multi author site and when a user comments on a post, that author gets an email saying there is a new comment. This email is formated in the standard WordPress way New comment on your post ...
0
votes
0answers
14 views

Comments disappeared but showing in database

This morning I published an article under which several comments were placed. I could read them and everything worked fine. Then all of the sudden, the number of comments were still showing on the ...
0
votes
2answers
49 views

How do I really disable comments?

I've been on a wordpress hiatus for the past 8 months and have never had to deal with building a website for an actual client. Though, no matter what I tried/how I tried to disable comments, I would ...
0
votes
1answer
31 views

Does anyone know all parameters of get_comments()

Here is the link. There is a lot of parameters that didn't explain yet, and I want to know all about it. Thought, I have try to read the code, but can not understand it at all. The more I try to read ...
0
votes
0answers
8 views

How do I purge multiple comments from a single IP and certain text in the comment?

Let's say that I want someone to enter a number from One to 10,000,000. How would I go about limiting the user to only post a number that was not posted? I already have a limiter on how to stop ...
0
votes
0answers
14 views

Exclude category from vertical scroll recent comments widget

I am trying to hack the following line of code inside this plugin, so that I can exclude comments from a specific category: $vsrc_data = $wpdb->get_results("SELECT * from $wpdb->comments ...
1
vote
1answer
51 views

default callback function in wp_list_comments

Which default callback function wp_list_comments use if I don't set callback parameter? I saw in the code of this function but I can't understand it.
-2
votes
1answer
19 views

Stop future commenting on specific post

As the title says, I don't want to hide existing comments or disable future comments for all posts. I want to stop visitors from creating new comments on specific post/page.
1
vote
0answers
36 views

Show comments of a user post only when they are login

I have a front end client portal I created when a user logs in they are redirected to a page called "Dashboard". The pages displays recent projects, invoices, and recent messages. Recent messages ...
0
votes
1answer
17 views

Can wordpress comments have titles and taxonomy?

I have a business directory theme that has a custom post-type for businesses and replaces wordpress comments with its own commenting feature called reviews. I was wondering if its possible to ...
0
votes
1answer
25 views

Way to count the number of people who have commented on a post?

There doesn't seem to be an easy WP way to show the total number of different commenters, just total # of comments. Is there a better than manually loop through all comments and counting the unique ...
0
votes
1answer
46 views

get only one last comment from each post

Lets say I have 5 posts where most recent comments placed. How can I get one comment per each of these posts? I want to use get_comments(). Is it possible? Post1: Comment 1 Comment 6 Post2: ...
0
votes
0answers
29 views

Can't check “Allow people to post comments on new articles” option

Comments are disabled on my client's website. But if I try to check "Allow people to post comments on new articles" option and hit "Save Changes", the page reloads with the option unchecked. I just ...
0
votes
1answer
13 views

Limit iframe output in comment-meta commentmetadata

Often people are posting Youtube videos directly into comment fields under posts, which is really a nice interaction and I have no problem with that. My issue starts then, when I see those videos ...