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)

1
vote
2answers
80 views

Disallow img tag in comments?

I have been looking quite a long time for a way to stop people from posting external images in comments i e <img alt="my photo" src="http://example.co.uk/pic.jpg" /> and the image is ...
0
votes
2answers
50 views

Undo a function that is not (seemingly) hooked to an action?

I am using the popular Disqus plugin. To use this plugin effectively, they advise you to change the URL on the front page to end in #disqus_thread. I know how to easily do this in jQuery, but I ...
2
votes
2answers
192 views

Publish a message on facebook after having posted a comment

I would like some advice on how to improve the code I use for allowing people to comment posts. Users can only submit a comment if they are connected with Facebook. I started developping this feature ...
0
votes
1answer
100 views

Average Score of all ratings in comments

i have a rating system in comments, for each comment user can rate 1-5 Stars. Now , i want the average of all ratings in comments of that post to show. How can i do that. Here is the link to the ...
1
vote
3answers
72 views

How do I reply to comments from admin panel on a tablet PC?

For certain reasons I prefer to reply to readers' comments from the admin panel (edit-comments.php). It's not a problem with a mouse. When I place the cursor over a comment, the comment management ...
-1
votes
1answer
204 views

Is there a way to implement a commenting system such as that on medium or sitepoint in WP?

Both Medium.com and SitePoint allows users to comment on individual paragraphs. I'm not sure how it's implemented but is there a way to do something similar in wordpress? See screenshots below to see ...
0
votes
2answers
227 views

Insert Ads “into” comments section in Genesis Themework

I am trying to insert two 125x125 ads into the comment section of a Genesis Child Theme - The screen above shows where I would want it but I am at a total loss on where to insert this overall. I ...
0
votes
0answers
54 views

Comments +1 and ranking system

The site that I'm creating, is a sort of information/news one. It has been made to prompt discussion between people. What I want to add, is a system that would allow people to +1 others comments ...
0
votes
1answer
64 views

Limit action in comment according to IP

I've been trying to set something that might be really easy (but I never had to do this before) : add_filter('pre_comment_user_ip', 'limit_commentator'); function limit_commentator( $comment ) { ...
1
vote
1answer
186 views

Wordpress comments email notification for authors

I'm admin of a question and answers website in WordPress. All users are defined like authors. I have the problem that when I approve a comment ( an answer to a question), the author receives too much ...
0
votes
1answer
41 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 ...
0
votes
1answer
26 views

Problem code and show comments

I use this code in shortcode for show posts : <?php while ($wp_query->have_posts()) : $wp_query->the_post(); $imagen = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), ...
0
votes
1answer
1k views

Custom post type: can't enable comments by default

I want to enable comments for custom post types just like they are for standard posts, but can't seem to get it to work. In functions.php, as part of registering my custom post type, I have this: ...
0
votes
1answer
320 views

Load comments.php template outside the post loop

I'm loading a post via ajax and outputting using $post = get_post( $post_ID ); Is there a way to load the comments.php template after I've output my post? I tried using: global $withcomments; ...
1
vote
0answers
151 views

have_comments() does not work

I have set a comment() condition in wordpress. This condition is set in comments.php just as the wordpress default theme does. then the whole comments.php file is loaded using comment_template; Now, ...
1
vote
0answers
41 views

Disable comments for a user?

Is there a way I could ban a registered user from posting comments, thus converting them to a read-only mode temporarily? Ideally I'd like this to be a set-it-and-forget-it solution (ban user for 2 ...
1
vote
0answers
46 views

Automatically increase comment karma on comment save

I don't know why, but it seems like the comment karma column is not used very much in plugins or otherwise. What would I need to do to hook into adding points to the comments karma column when a ...
0
votes
3answers
218 views

Customized Comment Form Issues

I'm developing a Wordpress theme and I faced a problem while customizing a comment form. What I wanted is to eliminate URL field and put my own classes for name and email fields. I'm doing it like ...
0
votes
1answer
425 views

Add a Custom Field in Comment Box next to the Text area

Good Day. I Recently try to figure out for adding the custom field in the comment box it working fine. Still I need to know how to add the custom field after the comment box. I am not sure how to do ...
0
votes
1answer
44 views

How to hold all comments for moderation, including author's comments on own post

I want all comments no matter what, to be held for moderation and not appear till approved by an admin. Wordpress allows author comments on own posts to show up without holding for moderation. Any way ...
0
votes
1answer
250 views

Limit comments per user per post

I use this code to limit the comments to 1 for registers users and works fine. The problem is that when i click to "go back" button in the browser i can comment again. Is there any effective way to ...
0
votes
1answer
37 views

Remove comment section from new page

I am taking over a wordpress website at work. All of the pages currently do not have a 'Leave a Reply' comment section. When I make a new page, this section exists on the new page. How do I remove it? ...
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
1answer
18 views

Why links are not linked if edited comment?

I am using the plugin front end editor to edit posts.. This works very well in posts, where all links are perfectly visible if I have edited a post. For some reason, if I edit a comment and there are ...
0
votes
1answer
62 views

Change Wordpress comments url / word

Is this possible? For example, I want to change http://mysitesitesite.com/post-name/comment-page-1/#comment-452 to http://mysitesitesite.com/post-name/custonname-1/#customname-452 What should I ...
0
votes
1answer
201 views

Insert image in comment reply

I have searched everywhere but can not find a plugin that allows users to upload an image into their Reply to a comment. It is a photographic blog so has to have this ability. I did try a couple but ...
0
votes
2answers
85 views

How to get posts and comments amount per hour, per year and per month?

I have this snippet: function count_user_comments_today( $uid ){ global $wpdb; $today = date('Y-m-d'); $tomorrow = date('Y-m-d', time() + 86400); $count = $wpdb->get_var( ...
0
votes
2answers
196 views

Get first comment link on the post itself

I have this function and a link to a post: <?php foreach ($results as $id) { $post = &get_post( $id->ID ); setup_postdata($post); <li><a <?php href="<?php ...
1
vote
3answers
391 views

How do we remove the H3 tag for the reply-title I.D

We're doing some SEO tweaking to a site, and our SEO guru informs us that we need to remove the <h3> tags from the #reply-title element, output from line 1554 of comments-template.php. It's the ...
0
votes
1answer
223 views

get_comment_author_link not working properly

I have this snippet: <span><a href="<?php bloginfo('url'); ?>/writer/<?php echo get_comment_author_link(); ?>"><?php echo get_comment_author_link(); ...
2
votes
1answer
146 views

Does Akismet plugin expose any hooks, functions, class that can work with custom code?

I have custom code that handles comment insertions using wp_insert_comment. Does Akismet plugin expose any hooks, functions, class that can work with the same and possibly elsewhere where custom forms ...
0
votes
0answers
62 views

Get url/link to latest comments in a post

I have a post list in WordPress where people can see the most recently commented posts. They will appear above the list. That's fine, but now, I have 300 comments on the same posts and I don't want ...
1
vote
1answer
28 views

How do you turn on comments for only the last page of a paginated post?

I have a single post with page breaks, but I only want to show comments and the ability to comment on the last page. Is this possible with WordPress?
1
vote
1answer
248 views

If modified on same day, show only time

I have a date on each post and comment which shows the date of placement. If I edit it, it shows me the date of the post and the modified date. That's fine, but now, I want to show only the post date ...
0
votes
2answers
968 views

Getting comment count per post not working

I have this function: <?php $popular = new WP_Query('orderby=comment_count&posts_per_page=5'); ?> <?php while ($popular->have_posts()) : $popular->the_post(); ?> ...
0
votes
1answer
42 views

Comment_author_url doing nothing

I have this function: <?php function top_comment_authors($amount = 5) { global $wpdb; $results = $wpdb->get_results(' SELECT COUNT(comment_author_email) AS comments_count, ...
0
votes
1answer
68 views

How to get recent comment link

I'm getting 5 recent comments into my sidebar using the following code: <?php $recent_comments = get_comments('status=approve&number=5'); ?> <?php foreach ($recent_comments as $comment) ...
0
votes
1answer
537 views

How to remove website field in comment form?

I am using <?php comments_template(); ?> to show my comment form and I'm trying to remove the url field so I added this to my functions add_filter('comment_form_default_fields', ...
1
vote
1answer
48 views

Get all images in post and comments like Twitter before post title

I want to know if it's possible to get all the images that are in a post and his comments, make them a thumbnail and put it before (or in a sidebar or something) the post title to show, just like ...
0
votes
0answers
33 views

Remove Posts Without Comments

I would like to have any posts that contain 0 comments be deleted on a regular and ongoing basis. My blog is currently using a combination of a cron job and the following snippet added to functions ...
1
vote
2answers
545 views

How to load javascript file on homepage in Wordpress in order?

I am using a quicktags plugin, which was not loading on the home page, now it does, but it does it on the wrong place. How can I solve this? I want the quicktags.min.js file to load first, rather ...
0
votes
1answer
153 views

Does Jetpack store comments in local database also? [closed]

I want to implement JetPack comments plugin on my external WordPress site. I assume it stores the comments in the local database of the website also. Is it possible to disable that option so that it ...
0
votes
1answer
651 views

Custom Post Type Set Comments ON by default without show METABOX

I've created a new custom post type for a specific posts. The posts from my new custom post type, have - by default - set the comments to "off". I need to the comments to be "on" by default. In my ...
0
votes
1answer
194 views

Error: Can´t access facebook comment plugin admin page

The plugin i'm talking about is facebook-comments-plugin The problem is i can´t access admin page: /wp-admin/options-general.php?page=fbcomments This error is happening: PHP Warning: ...
0
votes
2answers
211 views

comment_date() & comment_time() not working from functions.php

I use the following function to get the latest comment for each one of my posts and display it on archive and index pages under the post content: function kv_latest_comment($post){ $args = ...
1
vote
1answer
48 views

Is it possible to paste a link without tags and make it directly a link in a post?

So for example: if I post http://testeteststetetst.com, it won't make it a link if it's a post. If it's comment, it does make it a link... Now, I want it for posts too.. Is this possible, if so, how? ...
0
votes
1answer
179 views

How to use Disqus for some categories, and FB comments for others?

I didn't find anything related to what i'm trying to do. My WP blog have several categories. For one specific category, in which I publish short news and viral content, I'd like to use Facebook ...
-2
votes
1answer
151 views

displaying recent comments outside loop without plugin

So I wanted to display the 10 most recent comments from my blog onto my homepage. Can anyone tell me how to do that? preferably without using a plugin if possible... thank you.
0
votes
1answer
40 views

Author page link in comments is different than in posts?

When I hover over the comment author link on my comments, it shows a link like http://mysitenameeeee.com/?author=24 After I click it, it gets me to /author/authorname, which is fine, but I don't want ...
1
vote
1answer
678 views

Showing author page if user has no post

I have a page with profiles in which people can post or comment on a post. The problem is that if this user chooses to comment instead of post, he or she will not get an author page until it has ...