How to show Disqus comments and pingbacks?

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 … Read more

Using Disqus, how to stop storing comments in wp database?

The disqus plugin synchronizes your WordPress comments with the disqus system — that’s it’s main purpose (own your own comments, etc). You can get around this by ditching the built in WordPress commenting system altogether, modifying your theme templates (probably just comments.php) to use the stand-alone disqus javascript. <script type=”text/javascript”> var disqus_shortname=””; // required: replace … Read more

How to show Disqus comment count number only without text?

Not sure how it’ll behave with Disqus, but try the following filter: add_filter( ‘comments_number’, ‘comments_text_wpse_87886’, 10, 2 ); function comments_text_wpse_87886 ( $output, $number ) { return $number; } The original return is $output, and instead we are returning only the number of comments. That filter happens in the following core function, reproduced here if you … Read more

How to add Disqus comment count

I have the same problem with displaying number of comments in the loop. I solve this by turn off two filters in file plugins/disqus/disqus.php at line 1124: <?php #add_filter(‘comments_number’, ‘dsq_comments_text’); #add_filter(‘get_comments_number’, ‘dsq_comments_number’); And I have added to my template span with disqus elements: <?php if ( function_exists( ‘dsq_identifier_for_post’ ) ) { global $post; echo ‘<span … Read more

Migrating WordPress users into Disqus

Update If you’re running a big site, you may be able to take advantage of the Disqus Single Sign-On System! Original Post No but… WordPress comments can be imported into Disqus using WordPress’ WXR export format! Disqus has a doc on WXR importing. The WXR format includes the users’ email addresses, which is fantastic because … Read more

Importing old Disqus comments into WordPress

Without having a sample xml file, it’s impossible to try to debug that plugin and see where it is failing. Tried to search if some innocent soul left a file hanging on the internets, but nope. But one can see what others are saying: The nightmare that is Disqus export, and import into WordPress. September … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)