Tag Info

Hot answers tagged

2

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 ( ...


2

After quite a bit digging, I managed to fix it without modifying any WP core files. Essentially, Disqus usurps the comment count from WordPress and wraps it in its own with unique identifiers. Since WP is calling its own comment count when viewing the Posts lists, it's getting a string value filled with HTML rather than a plain double value with the ...


1

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 20, 2011 Disqus should have made this easy by ...


1

Just found the solution: you gotta disable Disqus 2012 features on your website (pre-moderation haven't been implemented on Disqus 2012 yet, despite being almost 2013 already). Here's the article where i found the solution: http://help.disqus.com/customer/portal/articles/708758-how-to-enable-settings-missing-from-disqus-2012


1

I had to get some band reviews that were already in Disqus from my old site into my new WordPress band site. I only wanted the reviews on our home page so here's what I did... I looked at the code on my old site and grabbed the disqus_identifier value from there. I defined and added a custom field named dsq_identifier to my custom page template and gave it ...


1

I have written and explained a small plugin to disable comments on pages: How to disable comments for WordPress pages in any theme. It replaces the regular comments_template for pages with a file that returns nothing – and therefore no disqus comments too.


1

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 according to this Disqus ...


1

Most themes used comments_template to include their comment areas. It's completely full of filters, one of which is the include file (usually comments.php) that you can hijack to include a file from your plugin that contains all the stuff for facebook comments (or nothing if you just want to disable comments. Example: <?php add_filter( ...


1

you may use this plugin : http://wordpress.org/extend/plugins/disabler/ i found this function somewhere on the internet (but can't remember where...). it may do what you are looking for : // Remove self pings add_action( 'pre_ping', 'my_no_self_ping' ); function my_no_self_ping( &$links ) { $home = get_option( 'home' ); foreach ( $links as $l ...


1

Are you registering your CPT with comments in supports array of register_post_type()? From brief look at Disqus plugin code there is dsq_comments_template() function that checks for related stuff and it likely returns false if support for comments is not declared.


1

You asked specifically about disqus, and as this is somewhat subjective even for technical answers (only because some answers are of technical nature, it does not mean they are not subjective), it's probably worth to look a bit around what others have asked and answered: What is the best method for handling comments? You can however just opt-in with disqus. ...


1

I've personally stayed away from any external or 3rd party system. Many times commenters are apprehensive about using "another" account or service, esp with recent privacy issues with Facebook, etc. Also, many add bloat and delay page load to run their own scripts, etc and can be harder to style to fit within an existing theme. I would look to use the ...


1

Personal opinion on things to stay away from: Akismet, it has terrible surges of false positives and operates as black box; external comment systems, they are solution in search of a problem. I started with native WP tools alone. Blacklist is great, but takes some maintenance. Since spam grows with time later I ended up building my own anti-spam plugin ...



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