Transfer comments from one domain to another
You can close the comments on site A and place a note like “If you have a remark, please voice your opinion on our main site B”. It is not very nice but not unheard of.
You can close the comments on site A and place a note like “If you have a remark, please voice your opinion on our main site B”. It is not very nice but not unheard of.
It sounds like you’re talking about a pingback. You can disable it from Admin|Settings|Discussion. Uncheck Attempt to notify any blogs linked to from the article. Or, you can do it on a post-by-post basis under “Discussion” below the post you’re creating/editing. You might need to enable “Discussion” in the “Screen Options” menu at the top … Read more
Ian Stewart’s Ultimate Theme Tutorial will help you understand the comments.php. You can use the following code suggested by him: <?php /* The Comments Template — with, er, comments! */ ?> <div id=”comments”> <?php /* Run some checks for bots and password protected posts */ ?> <?php $req = get_option(‘require_name_email’); // Checks if fields are … Read more
http://developers.facebook.com/docs/reference/fql/comment/ According to this you can query the comments can you convert this to wordpress query?
To retrieve all posts from a category, while preserving the original Loop query, you create a new query like so: <?php $testimonials = new WP_Query( array( ‘post_status’ => ‘publish’, ‘post_type’ => ‘post’, ‘posts_per_page’ => 30, // limit number of posts for which to get ALL the comments of ‘category__in’ => array( 2, 6, 18 ) … Read more
You might try this: add_filter( ‘posts_where’, ‘filter_where’ ); $query = new WP_Query($args); remove_filter( ‘posts_where’, ‘filter_where’ ); where function filter_where( $where=”” ) { $where .= ” AND comment_count > 0 “; return $where; } to get posts with comments.
Ok I figured out the problem! There was nothing wrong with the code or wordpress. My web host provider decided to change the IP address of my account without even notifying me. So all this time I was uploading the files on my old FTP address. That was the reason no changes were showing up … Read more
Based on this answer I suggest the following code: // the theme’s functions.php /** * Get the number of top level comments for a post. * * @param int $post_id * @return int */ function wpse_95242_top_level_comments_for_post( $post_id = NULL ) { if ( NULL === $post_id ) $post_id = get_the_ID(); if ( ! $post_id ) … Read more
Disqus pre-moderation rules are set on http://disqus.com/admin/settings/ and can’t be administered via WordPress. Currently there are only options to pre-moderate all comments, or comments from unverified users globally. If you wanted this kind of granularity, you can always register a new Disqus shortname (which is a container for all of your comments/settings) and install the … Read more
I just did a quick test and the comment blacklist appears to be ignored for logged in administrators (possibly other roles). It does effectively block comments when logged in as a subscriber. I suspect that that is the behavior you are seeing.