Comment_Reply_Link Not Showing?

When I use the following code, everything shows except the reply link! Anybody know what I’ve done wrong? I’d like the link to show up with the word ‘Reply.’ Live example: http://themeforward.com/demo2/?p=1948#commentlist In my header: <?php if ( is_singular() && comments_open() && get_option(‘thread_comments’) ) wp_enqueue_script( ‘comment-reply’ ); ?> In comments.php: <?php if($comments) : ?> <?php … Read more

Why are two functions over-riding each other?

I have function in my plugin that is: add_filter(‘comment_text’, ‘commentimage_comment_text’); function commentimage_comment_text($comment=””) { $options = get_option(‘commentimage’); $id = get_comment_ID(); $images = $options[‘images’]; if (!isset($images) || !is_numeric($images)) $images = 1; $url = get_option(‘siteurl’); for ($i=0; $i<$images; $i++) { if (file_exists(ABSPATH . ‘wp-content/comment-image/’ . $id . ($i==0?”:(‘-‘.$i)) . ‘-tn.jpg’)) { $comment .= ‘<p><a href=”‘ . $url . … Read more

How to remove these comments and html tags from the content?

These are actually input fields. paragraph is the textarea field. i query the contents from database and try to show them in this textarea field. But the textarea field is showing me unwanted comments and tags. When I echo them outtside the textarea field, it is fine. My code…. <?php while($userNotes->have_posts()): $userNotes->the_post(); ?> <li> <input … Read more

Allow contributors to moderate comments comments on posts they write

I run a multi-author wordpress site where we have a large number of contributors that can write articles, which are published after they are reviewed by an editor. (This is all standard wordpress behaviour). What I would like to do is give the contributors the ability to moderate comments on the posts which they write, … Read more

Getting $comments outside the comment template

I have a ajax request hooked on “template_redirect” (the ajax requests the post’s url), and I want to display only the comment template: function get_comm(){ if(isset($_GET[‘get_my_comments’])): $offset = intval($_GET[‘get_my_comments’]); echo $offset; // offset will be the same as “cpage” global $comments, $wp_query, $post, $id; print_r($comments); // nothing ? print_r($wp_query->comments); // nothing ?? wp_list_comments(‘type=comment’, $comments); // … Read more

Community Moderation Plugin for Comments [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 9 years ago. Improve this question Is there any wordpress plugin that allows the community to moderate the comments by themselves in Slashdot style? I found a … Read more

What filter/action hook can I use to add a few links to the admin comments page?

I would like to add a link to every comment when it’s displayed in the recent comments admin page (edit-comments.php). For the sake of this question, the link should just be this: <a href=”https://wordpress.stackexchange.com/questions/64737/mailto:[comment-author-email]?subject=hello”>Mail comment author</a> – the actual thing I want to put there isn’t really important, I just want to know how to … Read more

Display posts with comments closed, with pagination?

i’m using a custom query, which needs to display all posts with closed comments. I have this <?php $the_query = new WP_Query(‘showposts=-1’); ?> <?php while ($the_query -> have_posts()) : $the_query -> the_post(); ?> <?php if (!comments_open()) : ?> //some posts fomatting <?php endif; ?> <?php endwhile;?> So, basically, this loops through all posts, and then … Read more