I wish to display the number of trackbacks, pingbacks and comments a post has. I’ve read all about them and I am wondering if there is a simple solution, that I am not seeing, available. I know that wp_count_comments (trac line 1188) searches in WPs cache before making a database query and I want to […]
I have the following code to display comments, but there are two text areas showing up, not just one. Here is my code <?php $comment_args = array( ‘title_reply’=>’Got Something To Say:’, $aria_req = ( $req ? ” aria-required=’true'” : ” ), ‘fields’ => apply_filters( ‘comment_form_default_fields’, array( ‘author’ => ‘<div class=”grid-1-3″>’ . ‘<input id=”author” placeholder=”Name (required)” […]
Seeking a hook or code to override the Reading-Settings value for Syndication feeds show XXX items specifically for the comment feeds. Ideally I’d want to roll into a plugin I can network activate on a multiuser site. I am using Feed WordPress to syndicate in comment feeds from about 100 student blogs on a multi-user […]
I want to be able to conditionally load a class containing the word ‘AUTHOR’ in the comments section, next to the name of the person who was the author of the post. I know it has something to do with class bypostauthor, what I’ve got so far is: <?php if $class == ‘bypostauthor’ ?> <div […]
I am trying to create a page which displays all the posts in the blog, with the comments to each post listed below the respective post. By looking around the internet I figured out how to create a page template with the following code: <?php $args = array( ‘numberposts’ => -1); $posts= get_posts( $args ); […]
I have a problem with the comment form, as i’d like to change the style of the reply comment form (the one which opens after the clicking on Reply link of a comment). But I can’t find a way to do it properly, and I don’t want to modify native files from WordPress, such as […]
In the WordPress comment que, hovering over the URL of a comment generates a preview of the website. How does WordPress handle this and does this generate a hit, or ‘visit’ to that website?
I click the comments button in my admin dashboard and I only see 1 comment. I disabled comments on my website and it’s not even from my website, it’s from another website, looks like they linked to a post of mine. I don’t understand why I see that in the comments section… but then I […]
My commenting system used to work fine, but now it redirects to 127.0.0.1 whenever I try to post one. Any ideas on how to fix this?
I’m sure this must be a silly error by me but I haven’t been able to solve it… I added an extra ‘rating’ field to my comments form so that users can rate posts. Everything works fine and by using add_comment_meta( $comment_id, ‘rating’, $rating ) it gets inserted fine in the wp_commentmeta table. However, when […]