Override comments.php template with plugin
How can I override default theme/WP Core comments.php template with my own in the plugin? I searched for different solutions, but they don’t … Read more
How can I override default theme/WP Core comments.php template with my own in the plugin? I searched for different solutions, but they don’t … Read more
Just like WP posts have title and text, I want to have titles to my comments. Now how do I add it and … Read more
I think I might be able to parse the URL for the replytocom parameter and get the comment ID from that. However, it … Read more
I’m trying to write a custom comment class for my comments and I’ve been trying to de-construct the code for quite a while, … Read more
I am currently attempting to make comments that only the author when logged in can see those posts. Two different logins to the … Read more
What is the order of firing for these three hooks? add_filter( ‘comments_array’, array( $this, ‘BuildCommentsArray’ ), 10, 2 ); add_action( ‘preprocess_comment’, array( $this, … Read more
i need to add a privacy-checkbox to the file comment-template.php. I created the checkbox and a paragraph and it looks fine, so far. … Read more
I have installed WordPress in my localhost server. I am a creating custom menu. When I try to remove the existing “primary” menu … Read more
I’m using the following code to format the author’s comment date and remove the time: function my_change_comment_date_format( $date, $date_format, $comment ) { return … Read more
I’m using get_comments to show lastest comments i.e.: <?php global $comments, $comment; $comments = get_comments( array( ‘number’ => ‘5’, ‘status’ => ‘approve’, ‘post_status’ … Read more