Email from new comments

Have you tried: deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s). switching to the Twenty Eleven theme to rule out any theme-specific problems. resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still … Read more

Let users comment on categories in WordPress

For all I know, that’s not possible, since comments depend on a Post ID to exist. You can, however, mimic that functionality by registering a post_type to be at the same time, attached to one specific category, and parent their comments. Then you can insert a secondary query on your comments.php to fetch the post_type … Read more

WP Custom Comment Callback Not Responding

There is apparently some sort of query call that takes place as part of the comments_template() call, just as there is with loop calls. When I put my custom function in the comments template, it works perfectly. I tried putting the entire contents of the comments template into my custom loop-single template, and it didn’t … Read more

Problem display only posts with comments

your query doesn’t restrict posts without comments. $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; query_posts( ‘cat=-8378, -13444&orderby=comment_count&paged=’ . $paged ); while (have_posts()) : if( get_comments_number() ) the_post(); […] reference: get_comments_number()

How to display comments list by order when clicking on newest or oldest link?

Just open the comments.php file from your theme. Find the following line (or similar) <?php foreach ($comments as $comment) : ?> Add this lines just above it if (isset($_GET[‘comOrder’]) && $_GET[‘comOrder’] == ‘Newest’ ) $comments = array_reverse($comments, true); so your code looks like this: <?php if (isset($_GET[‘comOrder’]) && $_GET[‘comOrder’] == ‘Newest’ ) $comments = array_reverse($comments, … Read more

WordPress error when sending comment

I’m using the “comments_template()” function with no additional parameters, which loads the default “comments.php” from the wp-includes library. That’s your problem. The compat version is unmaintained and obsolete. Theme-compat files are officially no longer supported, as of WordPress 3.0. (See here.) You need to define and include comments.php in your Theme.