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 […]
Is there a way to make differences between the normal comment form and the reply-to-form? For example, I added a set of required radiobuttons to the form which make rating by commenting happen. Now, if someone only replies to a rating comment, these radiobuttons should not be required nor displayed in the form. As the […]
I can’t approve or reply to comments via the dashboard. Approving just returns the comments. And quick reply doesn’t work and it says page not found and shows a whole bunch of code in red, nothing too obvious. I deactivated all the plugins but still doesn’t work. So I’m guessing a file is missing because […]
I have created some pages in wordpress like “Contact, Photo-Gallery, Services”. Problem is – on every of those pages at the bottome there is a form for commenting a page. I do want to have this function on blog pages, BUT NOT on this “general” pages. The question is – how can I remove commenting […]