Recent comments per tagged post?

As Konstantin Kovshenin pointed out in this article, you can get the comments for a specific Category like that: <?php $show_comments = 10; $i = 0; $comments = get_comments(“number=50&status=approve”); foreach ($comments as $comment) { $comm_post_id = $comment->comment_post_ID; if (!has_term( ‘XYZ’, $comm_post_id );) continue; $i++; // Output the comment, author and whatever you need // I’ll … Read more

Passing user meta through comment form

If you look in your theme’s comments.php file, you should see a call to wp_list_comments. If that has a callback parameter– something like this array( ‘callback’ => ‘twentyeleven_comment’ )— then your theme has its own comment display function. Find that function. It is probably in function.php but no promises. If not, you need to make … Read more

WordPress is adding above html

I would suggest you to search for files by content and search inside wp-content folder of your WordPress for this string: “page-who-we-are.php” – you’ll locate the string and you can remove it. To search files by content on Windows, see Best way to confidently search files and contents in Windows without using an indexing service?

different levels of nested comments per page

Please reference the Codex entry for wp_list_comments(). This function includes a ‘max_depth’ parameter in its args array. On the specific page in question, simply call: <?php wp_list_comments( array( ‘max_depth’ => ‘1’ ) ); ?> If you need more specific help, please clarify your question to indicate how you would identify the specific page in question. … Read more

modifying the comment form

That function is called directly in a theme, probably in comments.php. Remove the function call there, and use your own function with a different name. Be aware many plugins rely on the code in the native function. If you change too much, some plugin might break. You can edit the label element with a filter … Read more

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

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