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.
2
votes
1answer
179 views
How to export comments in WordPress?
I want to export my comments to Excel, PDF or Word. The format really doesn't matter, I just want them exported.
I tried the Export Comments plugin, the standard one, but couldn't get it to work, I ...
0
votes
0answers
35 views
Unapproved comments showing in Firefox using Twenty Twelve comments code [closed]
I am having a issue with unmoderated/unapproved comments displaying in Firefox only. All other browsers are fine.
On a post it says 0 comments and then shows that the comments need to be moderated ...
1
vote
1answer
26 views
Show only if x comments?
Is there any function that will show some content only if there are more than x comments ?
For example show some banner only if more than 10 comments are in post ? Thanks :)
1
vote
2answers
120 views
get_comments_number of depth-1 (Level 1) (1 post)
I selected only 2 levels of comment for my wordpress site.
How can I display the number of comment of the first level ? (Depth-1)
2
votes
1answer
66 views
Can WordPress store comment cookies on two different computers?
It's usual that WordPress stores comment author name and email in the user's browser cookies, so next time the visitor has to comment, they have their name and email already filled in automatically.
...
-3
votes
1answer
56 views
Rating based off of number of comments or views
Is it possible to have some sort of rating feature based off of x amount of comments or views?
Example:
Instead of saying 200 views, have it say:
"Hot"
400 views, have it say:
"Very Hot"
...
1
vote
1answer
89 views
get_comments() where parent is not 0
I need a way to get just the comments that aren't top level i.e. where parent is not 0.
I've tried:
$args = array(
'parent' => -0
);
$comments = get_comments($args);
I know the parent ...
0
votes
2answers
48 views
How to delete ALL comments from certain category in Wordpress database?
I'm trying to delete all comments from posts in a certain category in a Wordpress database.
The Wordpress database is rather complicated so this must be probably some join of wp_posts, wp_comments ...
0
votes
1answer
69 views
Subscribe to a post's comments without posting a comment yourself
I've seen a few plugins (subscribe2, subscribe to comments) that allow people that have commented to receive emails containing follow up comments.
What I want to do is slightly different. I want to ...
2
votes
1answer
32 views
comment_email hook doesn't seem to work for comment editor field
I am building a plugin that allows users to PPK encrypt their users' IP/email data. Thus, IP/email data is set to dummy values in the comments table and encrypted values are stored in corresponding ...
0
votes
1answer
94 views
Get the latest comment from a custom post type where depth = 1?
Happy new year everyone.
I've been struggling with this one for a while.
I need to get the latest comment from a custom post type, but ignore any child comments i.e. only look at comments with a ...
0
votes
1answer
116 views
Admin can enter JavaScript - potential security risk?
WP 3.5/TwentyTwelve/Clean install. I try this when login as admin and editor.
I try add reply for first post "Hello World":
<script>alert('XSS')</script><script><</script>
...
0
votes
1answer
97 views
Custom avatars in wordpress comments?
I'm looking for a way to let people connect with facebook when posting comments, and to use their facebook avatars as the avatar for the comments. How can this be done? Do I need to create a seperate ...
0
votes
1answer
33 views
By Default, Turn Comments Off for Pages & Leave Comments On for Posts
By default "Discussion: Allow comments." is checked when a new page or post is created. I know you can make "Discussion: Allow comments." unchecked by default on both pages and posts by going to ...
2
votes
2answers
97 views
How to get comments with mixed status using get_comments?
Is there a way to get comments with more than one status using get_comments function?
Let's say I would like to get both trash and hold comments.
It is possible to do the same with posts:
...
2
votes
1answer
38 views
How to no follow the paginated comments
I am trying to find a way to add rel="nofollow" to my comments pagination links.
Can anyone provide me with a hook or way to do so?
4
votes
1answer
75 views
Allowing more elements in comments via functions.php
I would like to allow certain HTML elements in my comments and have edited kses.php directly in the past.
However, I have been hacked recently and replaced all the core Wordpress files and feel I ...
1
vote
1answer
105 views
Customize comment list markup
While creating a new theme, we'll have to customize the comment flow. For doing so there are two functions: wp_list_comments() and get_comments(). I am not very sure how to style the inner elements ...
3
votes
1answer
68 views
Comments number message in password protected post
I've got a password protected post and comments_popup_link('No Comments', '1 Comment', '% Comments'); function displays "ENTER YOUR PASSWORD TO VIEW COMMENTS." message. The question is, is it possible ...
0
votes
1answer
83 views
Get number of comments per page
I am trying to grab number of comments to display per page. So far unsuccessful, looking for something similar to this $wp_query->max_num_pages; Thanks.
1
vote
2answers
102 views
Sync comment data
I have a site that used Facebook comments for a period of time and then removed them for native WP comments. I was able to write a function that grabbed all the comments and re-inserted them into the ...
0
votes
1answer
111 views
What is the Difference in bones_comments() and comments.php
I started to use Bones HTML5 Wordpress Starter Theme, but a little confuse with some built-in function in bones,
There is function bones_comments() in functions.php but I cannot find anywhere on the ...
1
vote
1answer
41 views
Get a variable field of all comments of current post
How to get a variable comment field of all comments of current post?
I want to display all (for current post) comment user website url in to current post.
Thanks for help.
0
votes
2answers
81 views
Getting Post Permalink Outside of Loop Not Working
I'm trying to get post's permalinks outside of the loop via a wordress plugin. Nothing seems to be working. Here is the original code that does not link to any permalink.
public function ...
0
votes
2answers
237 views
Getting recent posts from all blogs on mother blog - multisite
I want to get the recent comments on all posts in a multisite network, and I want to display these ceomments in a sidebar on the multisites "mother" blog. To complicate: All blogs are forced to post ...
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 ...
3
votes
1answer
83 views
How to prevent deleting of comments when deleting a post
Like the title says: How can i prevent Wordpress from deleting post comments when i delete a post?
What i am trying to accomplish is that i want to merge all comments from different posts to posts ...
0
votes
1answer
42 views
How to implement just the wp commenting area on my custom site?
I'm searching for some site where I can find line by line explanation of an wp theme's code.
Because, I want to implement on my site just commenting area.
I don't need sidebar, gadgets, searching, ...
0
votes
2answers
105 views
How to update wp_posts with just the returned comment count from wp_comments (SQL GROUP BY)
I am doing a special migration from someone's custom CMS to a WP installation. I successfully got the posts and comments migrated into their respective tables. Now I need to get the comment count ...
2
votes
1answer
187 views
How to enable comments for pending and draft posts?
I have a custom post type with comments enabled. The comments metabox in the admin only appears when the post is published. I'm wanting to use the comments system as more of a discussion between ...
0
votes
3answers
131 views
Remove the deleted user comment
Problem
I have a user based site, so when user deletes his profile somehow his/her comments stay visible.
There is no name and blank avatar with the comment. Is there any way to delete the comments ...
1
vote
1answer
40 views
Same email for all comments
I have An administrator must always approve the comment checked, as well as Email me whenever Anyone posts a comment.
This sends an email to the post author. I don't want that. I have one person in ...
2
votes
1answer
117 views
Allow guests comments on single post
I would allow guests comments who are not registered yet to comment only one single post. Other posts have to be commentable just for registered users.
0
votes
1answer
53 views
2 tick boxes appearing below comments
In my site I have two tick boxes appearing above each other underneath the comments section.
I have tried disabling pingbacks etc.
How do I remove these?
example - ...
0
votes
1answer
109 views
Retrieve comments from current post using SQL
I am trying to use this code below to auto-refresh comments but at the moment it is displaying all comments. I would like to only show comments for the current post. I am not very experienced with SQL ...
5
votes
1answer
474 views
Importing old Disqus comments into WordPress
Anyone got a working way to import old Disqus comments into WordPress?
Presumably by converting the Disqus XML export format to the WordPress XML import format.
Note that this plugin is for some ...
5
votes
1answer
67 views
Allow variable amount of comments before pagination
There is an option in the admin settings allowing you to define how many comments should be listed before creating a new page for the next ones. I would like to have the same number of comments for ...
0
votes
2answers
112 views
How to use filter on comment submission/insert
I am working on a small project for my family to share info, recipes etc. And I added a "@" mention feature. Now that the mention feature works I need to notify the user they were mentioned.
I ...
1
vote
1answer
33 views
Comments view limited to 20 results - any way to increase to 50 or 100?
Each day I manually delete the spam posted on my blog. The comments view allows a maximum of 20 comments in the view. When I have 200 spam entries - I need to click through 10 times to get rid of it ...
2
votes
1answer
89 views
How to Auto Approve Comments on a Specific Page?
I am using WordPress comments on a page as a Contact page and I am able to show those comments only to logged in admin.
Now I would like to automatically have any comments placed on my Contact page ...
0
votes
0answers
60 views
WordPress comment numbering exclude children comment in Genesis child theme [closed]
I use a plugin as instructed here.
My problem is shown in this image
I cannot display comment numbering excluding child comments as follows:
Comment
Comment
Child comment 1
Child comment 2
...
0
votes
1answer
76 views
Is this a wordpress bug? get_comment_link auto shoots when user visits his dashboard
If user is editor, this function auto-shoots when user visits his dashboard!
How is this possible? This function should only work when user successfully posts comment, so what is happening? could be ...
0
votes
2answers
61 views
My posts show 2 comment forms
We have a Wordpress site, lifering.org, hosted on GoDaddy. We recently upgraded our virtual server's Linux operating system, which involved rebuilding the site from a backup.
Now I our single ...
2
votes
0answers
223 views
comment_post_ID 0 (cannot remove from dashboard)
Ran across something a bit odd that I haven't seen before. A client has a pretty active blog and uses Akismet (paid) to protect against spam. At least once a day, they're reporting a spam comment that ...
0
votes
1answer
457 views
How to resolve 404 errors for wordpress comments/feed when I have disabled comments
I have disabled comments in my wordpress site. So comments/feed url is giving 404 error. So how should I resolve these errors? doaminname/feed works fine. But domainname/comments/feed is giving error. ...
1
vote
2answers
84 views
Get only one comment per post with get_comments
Is there a way to limit get_comments results to just the latest comment from every post?
1
vote
2answers
390 views
Comment_Reply_Link Not Showing?
When I use the following code, everything shows except the reply link! Anybody know what I've done wrong? I'd like the link to show up with the word 'Reply.'
Live example: ...
0
votes
1answer
62 views
How can I change the link in comment form “Log in to post a comment”?
Right now there is a link and I am using a plugin for a modal box and I would like to change the link in the code.
Where is the html and php file with the code located?
I have looked in my theme ...
0
votes
1answer
42 views
How to prevent multiple comments
We have an internal WordPress blog and a sort semi-trolling type situation going on.
Almost all posts are flooded with comments by a single person. Basically the person is keeping a blog in the ...
0
votes
2answers
141 views
Actual comments not showing, but form is?
I have edited the comments form to remove a few fields and now the approved comments dont even show up, just the form itself.
What am i missing from this...?
<?php
$comment_args = array(
...
