Default Gravatar not showing for pings
By default WordPress does not display an avatar for a pingback or a trackback – do they even contain an e-mail address? You can add these to the get_avatar_comment_types filter if you want to change this.
By default WordPress does not display an avatar for a pingback or a trackback – do they even contain an e-mail address? You can add these to the get_avatar_comment_types filter if you want to change this.
Just download twentyten and see how it works, it’s relatively simple to use it as an example. Nothing needs to go into functions.php for comments to work. You can use custom callbacks in there if you wish, but just a few template tags get the comments going <?php comments_template( ”, true ); ?> Is what … Read more
The comments_popup_link_attributes filter will allow you to output attributes within the link. function add_comment_hover_action() { echo ‘ onHover=”fireMyJSCode();”‘; } add_filter(‘comments_popup_link_attributes’, ‘add_comment_hover_action’); Alternately, you could hook into the comments_number filter to add a span wrapper around the comment number text with a common class name and the parent post id as an attribute. Then in JavaScript … Read more
Why not use: if ( user_can( $comment->user_id, ‘administrator’ ) ) { // current comment is from an administrator; // do something } As for putting the admin comments at the top of the comment list, you would have to modify the comment query itself.
Does your theme have a comments.php, or a loop.php? If you do look inside those files.
I think WordPress.com is an OpenID Provider, meaning that you can use the OpenID Plugin, and allow users to use their WPCOM account to register/login to your site. As far as I know, WordPress.org is not an OpenID Provider (though that would be a neat idea!).
You can turn off caching for your wp_list_comments template by placing define(‘DONOTCACHEPAGE’, true); at the top of the page. Other constants available on a per page or template basis are: define(‘DONOTCACHEDB’, true); Disables database caching for given page. define(‘DONOTMINIFY’, true); Disables minify for a given page. define(‘DONOTCDN’, true); Disables content delivery network for a given … Read more
A slightly more complete and less abrupt answer. <?php $args = array( ‘status’ => ‘approve’, ‘number’ => ‘5’ ); $comments = get_comments($args); foreach($comments as $comment) : // display any of the following indexes as you’d like var_dump($comment); endforeach; ?>
That appears to be simply a Page template that outputs the “Recent Comments” Widget for comments and pings, and then (probably) another Widget that displays a list of most-commented Posts. If those indeed are Widgets, then you simply need to create a custom Page template, and instead of outputting a Loop, output a the_widget() call … Read more
The problem is not if it exists, after all I can sign up with [email protected] , it’s fake and the domain obviously exists. The only real way to verify is to send an email to the address and have an action that they click.