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
1answer
100 views

custom comments form for custom post type

Hello everyone I am creating a theme dedicates to hotels display and booking in which I have created a custom post type 'Hotels' so now I want a mechanism to book the hotel rooms and a "book now" ...
0
votes
1answer
59 views

How to allow logged in users to post anonymously

I've been searching and searching for a while now to see if there's a way to allow people who are logged into my BuddyPress site to make a post on the activity section as "anonymous" or as their ...
0
votes
0answers
39 views

Saving comments meta values in admin [closed]

This code is for creating a custom meta value for comment. It must be displayed and edited from comment edit screen in the admin area. The meta values are not being saved to the database and I don't ...
1
vote
1answer
109 views

Post comment as different user than logged in

When I reply to a comment in the WP backend in the "Comments" section (edit-comments.php) I can only post the reply as the logged in user. Is it possible to select a certain user like in the "Add new ...
0
votes
1answer
25 views

How to make all the posts commentable by default? Imputs in Settings/Discussions are not saved

I've modified my website quite a bit and now looks almost as I desire. I've set all the posts to be commentable in Settings/Discussions but it seems that this imput is not saved and new posts by ...
0
votes
1answer
49 views

Function to prevent users from trashing comments

Is there any way to prevent/hide trash button for comments? Note that I only want to prevent users from emptying the trash for comments. Can't seem to find a way. Is there any possible way to do that ...
0
votes
2answers
89 views

<?php wp_list_comments(); ?> is it possible to have the full code instead in the comments.php page

I strongly need to edit some parts of the comments left by the users, I want to add a link to the commenter's author.php page if he/she is a registered user by placing a text link somewhere next to ...
2
votes
2answers
646 views

List Recent Comments from Across a Multi-site Network

I'm look for a custom SQL query that will let me pull in the latest comments from across a WP multi-site install. The end result will be identical to a regular recent comments widget, but from all ...
0
votes
1answer
47 views

Comments screen in backend, how to disable visual editor when replying to a comment

I'm almost done to create my project with WP and all the steps taken have brought me almost to the finish line. The following recent answers I had were able to help me customizing the comments area: ...
4
votes
1answer
49 views

Comments screen in backend, how to disable email address of commenter for non admins

I'm trying to configure the comments screen in the backend to fit my project. I've already been able to take a first step by resolving this question: Comments screen in backend, how to disable Quick ...
0
votes
1answer
39 views

Comments screen in backend, how to disable Quick Edit | Edit | History | Spam | for non admins

I'm trying to adjust the comments screen for non admins to my project. Right now I'd like to disable Quick Edit | Edit | History | Spam under any comment left for any post created by the user. ...
3
votes
1answer
531 views

How do I turn off wordpress comments ability to capture a users ip address?

Going through the comments table on my wordpress site, I noticed that wordpress is storing the ip address of everyone who makes a comment on my site. How do I remove this functionality? I'm not just ...
0
votes
2answers
42 views

show posts from one category with comments only

Would anybody have a good idea for getting the WP to spit out all posts from a category with (approved) comments only? I have an ecommerce site set up, and treat comments on product posts as ...
0
votes
1answer
42 views

Comments are invisible, what's the problem with wp_list_comments?

My code is the following: <?php get_header(); ?> <div id="main-content"> <section id="primary"> <!-- <h2 class="cat-title">Latest news</h2> --> ...
0
votes
1answer
29 views

Display facebook comments made on site

Im using facebook comments for wordpress, now i would like to display the recent comment using the widget but its getting an error Fatal error: Cannot use string offset as an array in .. Is there ...
3
votes
1answer
109 views

Show content only if member left a comment

Functions Php : add_shortcode( 'membervip', 'memberviparea' ); function memberviparea( $atts, $content = null ) { if( is_user_logged_in() ) return '<p>' . $content . '</p>'; ...
0
votes
0answers
16 views

How can I have a full comments.php for an easy editing of all its aspects?

Is there a way to get the full code of the comments.php instead of the one I have with any recent theme where I just can edit few parts of it? I know it's encoded but I wonder if there's a chance to ...
1
vote
1answer
58 views

Turning off trackbacks & comments

We have a few different websites running various versions of Wordpress that have comments and trackbacks turned off, yet I still receive emails saying there's some waiting for me! I've turned them ...
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 ...
0
votes
0answers
16 views

Multiple pingbacks not appearing without “updates”

I often end up referencing several previous blog posts in new ones I write. However, only the first shows as a pingback in the admin dashboard. If I update the new post, the next pingback will ...
4
votes
1answer
196 views

show number of open comments on custom dashboard

On my custom dashboard, I want to show the number of total new comments (somehow like "right now"). Just like "You have ... open comments to take care of". So all I want is the total number not a list ...
0
votes
1answer
30 views

Display User Role Next To Comment

I've search around but I can't seem to find exactly what I'm looking for and for the first time I don't even know where to start. How do I display the user role (Admin, Editor, Author Contributor, ...
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
31 views

Creating a plugin to sanitize comment and the url field before display only

I want to create a plugin to sanitize comment and mainly the url field before display only (not before adding to database), to filter the url fields and only allow displaying this field only if it ...
2
votes
0answers
71 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 ...
0
votes
1answer
101 views

wp_query and comment_parent - select only posts with top level comments

I have a custom post type of 'films', and I'm creating a number of search filters using wp_query. All are working fine, but I now need to add in an option of exclude results that dont have any top ...
-1
votes
3answers
791 views

Is there a plugin that can replace WP comments with Facebook comments as used by TechCrunch? [closed]

I've long been impressed by TechCrunch's Facebook comments, is there a plugin for WordPress self-hosted websites which achieves the same effect?
0
votes
1answer
29 views

Disable Link to Post from Showing Up in Post's Comments?

When I link to a another post in one of mine, is there a way for it not to show up in that entry's comments? Very small, new blog at the moment... I honestly just don't want all the exposure from ...
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 ...
0
votes
1answer
47 views

<!--nextpage--> assumed as comment line

I created very simple php loop which generates image links for given number. This is the code <?php $im = stripslashes(get_option('tm_alim')); for ($i=1; $i<=im; $i++) { echo "<img ...
0
votes
1answer
19 views

How can i change the order of comments?

I like to have the latest comment shown above. Just under the post. Now the oldest comment is shown. How can i change the order? With regards, Albert
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 ...
2
votes
2answers
332 views

Add delete, approve, spam Links to Comments

Anyone know how to add quick comment moderation links for users who have permission to add/edit posts and comments? (Upprove / Unappove / Edit / Spam / Trash ). Note: in my comments.php I call the ...
0
votes
2answers
62 views

How to use the 'comments_number' filter?

I'm not sure how to use this filter. Could someone show me an example? I'm trying to change ('0', '1', '%') to ('0 Comments', '1 Comment', '% Comments'). I'm using this function to get the comments ...
1
vote
3answers
164 views

Is it possible to move a comment that should be a reply to another comment?

I like to have a clean blog, and I also like that comments that are replies to other comments actually are replies to other comments. Some people don't mind that difference too much and just leave ...
2
votes
2answers
73 views

Disable wordpress comments API

We're using the disqus plugin on our wordpress site, so anyone commenting should have a login through disqus. Yet, I'm still seeing spammers trying to post through the regular comments API. They're ...
2
votes
1answer
146 views

Custom disqus_identifier not properly changing default value

I have several pages that are all part of the same topic, and I would like them to use the same comment thread on Disqus. I am using the following code to pull the custom identifier from a custom ...
2
votes
1answer
146 views

Writing a plugin that notify my friends of new post that mentions(@) them

For example, I write a new post with content "Today I'm happy, because I finally met the girl that @David told me about bla blah..." Once the post is published, there should be an email notification ...
1
vote
1answer
59 views

Allowing users to edit their comments

How can I allow users to edit only their comments? I tried some plugins like "WP Ajax Edit Comments" but users could edit all comments.
0
votes
1answer
23 views

Transfer comments from one domain to another

We have two domains with separate WP installs, it's not a multisite network. We would like to send or transfer comments from domain A to domain B so domain B handles all moderation because we'd like ...
0
votes
1answer
19 views

Comment forum to display under the comment you're replying too

I am making a theme where I have built in my own custom threading and such using twitter bootstrap. I have it now so that, as per default, when you click reply you are shot down to the WordPress ...
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
1answer
900 views

Comment Link from get_comments()?

I've got to update a bit of sloppy code that shows the 5 most recent comments across the entire blog. The code is using WordPress' get_comments() method, which doesn't appear to return comment id's, ...
0
votes
1answer
29 views

Post comments to Facebook

I am using WP's own commenting system, but I also want to add option like checkbox which will provide option to post comment on Facebook may be with post link. Has anyone done something like this or ...
0
votes
1answer
99 views

Editing custom fields for comments

I need help with why the save function is not working in the edit_comment hook. Here is the code for the 'comment_post' hook: add_action( 'comment_post', 'save_comment_meta_data' ); function ...
0
votes
1answer
41 views

Customizing Comments on Posts

I have implemented custom code for generating comments on post page using callback function in functions.php. function MYTHEME_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ...
0
votes
1answer
41 views

Auto-deleting comments that trigger the blacklist

By default, the WP 'blacklist' feature finds comments containing the blacklisted string and moves them to the spam folder. What I am trying to do is change it so that instead of going to spam, the ...
0
votes
1answer
53 views

How to check if commenter is the_author?

What's the best way of checking if my commenter is also the author of the post that he post comment on? I know there's a css way (.byauthor), but how about PHP? How to compare post author with ...
2
votes
1answer
431 views

Get threaded comments number

I'm using Greg's Threaded Comment Numbering plugin to number the comments. Actually I'm displaying a number beside of each parent comment (no threaded comments numbers). I have 2 problems that I have ...
0
votes
1answer
38 views

Force logged in users to provide more data when commenting

I have added more data to my comment using hooks. I added a group of radio buttons so users can select and choose one of radio buttons. Everything works perfectly fine but the newly added radio ...

1 2 3 4 5 15