Comment forum to display under the comment you’re replying too

Enqueue the ‘comment-reply’ script. function wpse88530_enqueue_comment_reply() { // Enqueue the comment-reply script on //single blog post pages with comments // open and threaded comments if ( // Returns the value for the specified option. // ‘thread_comments’ is a Boolean option where // comments are threaded if TRUE, and flat if // FALSE get_option( ‘thread_comments’ ) … Read more

Disable Link to Post from Showing Up in Post’s Comments?

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

show posts from one category with comments only

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

wp_query select if have comments

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.