Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 1057

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.

0 votes
1 answer
58 views

What is the earliest hook comment meta can be saved?

I'm trying to integrate a new security checker service into WordPress comments. My goal is to tell the service's api to scan all links in a comment. … My question is: what is the earliest (or most proper) hook to use to add comment meta keeping in mind that the goal is to automatically mark comments as spam? …
MTT's user avatar
  • 3,576
1 vote
1 answer
123 views

How to display html in only the first level of WP comments?

How would I display html code in only the first level of threaded comments? … Example L1 Comment ----L2 Comment --------L3 Comment L1 Comment I have a piece of html code that contains basically reads "Reply to (author name) or post a new comment" and only need it displayed on L1 comments
MTT's user avatar
  • 3,576
1 vote
2 answers
644 views

Display WordPress commenter nice name

I'm working on a custom plugin that needs to display specifically the commenter's nice name. The codex shows how to do this for the logged in user but not someone else. Can this easily be done?
MTT's user avatar
  • 3,576
7 votes
7 answers
29k 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 hav …
MTT's user avatar
  • 3,576
0 votes
1 answer
2k views

Why could my comment_form variable not be working?

Related functions.php code: // Custom Callback - Comments if ( ! function_exists( 'starkers_comment' ) ) : /** * Template for comments and pingbacks. … php previous_comments_link( __( '&larr; Older Comments', 'starkers' ) ); ?> <?php next_comments_link( __( 'Newer Comments &rarr;', 'starkers' ) ); ?> </nav> <? …
MTT's user avatar
  • 3,576
1 vote
1 answer
3k views

How does WooCommerce display a custom comment_type in Comment Admin?

There have been many threads and topics over the past few years about how to create a custom comment type. For the most part it's my understanding that it's possible (because WooCommerce does it) but …
MTT's user avatar
  • 3,576