Tag Info

Hot answers tagged

6

Pingbacks/Trackbacks: This is most likely a harmless case of link notifications to your blog (A) from the other blog (B), where: the comment_author_email field is usually empty, the comment_type field is either pingback or trackback, the comment_author field has the form: The title of the post that contains a link to a post of blog A | The site ...


2

The plugin you mentioned is only a single function so it shouldn't be too heavy on your setup. It uses the comments_template filter to inject the pingbacks/trackbacks list into your page. But the plugin is using an extra manual SQL query and the template is constructed by hand, so there's a room for improvements/simplifications. A simple demo plugin with ...


1

Livefyre Sidenotes plugin for WordPress does exactly this: https://wordpress.org/plugins/livefyre-sidenotes/ It enables contextual inline commenting not only per paragraph, but, within this, commenting on a particular section highlighted by the user, which would be closer to the MS Word implementation: Start by highlighting the text: When the ...


1

This will display them before the DISQUS comment form but not the count add_filter( 'comments_template', function( $pings_before_dsq_comments) { if( !function_exists( 'dsq_is_installed' ) || !dsq_is_installed() ) return $pings_before_dsq_comments; wp_list_comments( array( 'style' => 'ul', 'type' => 'pings' )); ...


1

You were nearly there with your first piece of code. For this to completely work, you'll need to get a list of the comment classes and check your class against that list. If your class exists in that returned list, you can something, if not, do something else Use get_comment_class() to retrieve that list. Here is an example $classes = get_comment_class(); ...



Only top voted, non community-wiki answers of a minimum length are eligible