0
votes
0answers
19 views

Comments template override [closed]

I would like to add an extra class to my comments template and I have a call in my functions.php but I don't know how do I pass to comment_class() an extra class? <li <?php comment_class(); ...
0
votes
1answer
30 views

Display DISQUS on homepage

I have installed disqus and I want it to show up on my homepage. It replaced the old wordpress comments system on pages and posts but I also want it to appear on index.php my index.php file now - > ...
0
votes
1answer
369 views

comments_template not working correcly in custom template files

In a template file that I am using as page, I want to allow only 2 users to post comments and allow to all other users to only see these comments( not allow them add comments). my template file is: ...
0
votes
1answer
78 views

Display the first post's comments of category in comments.php template

I want the display the comments from first post of the category only. Example; Category - Post 1 (2 comments) - Post 2 (1 comments) - Post 3 (5 comments) If I am reading the Post 2 or Post 3, I ...
0
votes
1answer
39 views

Wordpress is adding <!— page-who-we-are.php --> above html

Wordpress is adding this comment above all HTML on my site which is causing problems in IE in which the site won't render properly at all. How do I stop WP adding this? Tried disabling all plugins ...
0
votes
1answer
53 views

How do I get the comments section to show up?

My theme does not seem to be showing me the comments section, this is the PHP code I have in my index.php file inside the template folder <!-- Start the Loop. --> <?php get_header(); ?> ...
0
votes
1answer
63 views

Highlight comments made by registered users of the site

How can I highlight comments that have been made by registered users of my blog?
0
votes
1answer
77 views

Pull comments from one page/post into another page/post?

I am creating a facebook app via wordpress but some how need to pull the comments off my homepage and insert them onto another page, essentially what I am trying to do is duplicate the homepage with a ...
1
vote
2answers
648 views

display comment form for specific post id

I have three pages, and I want them all to display the comments form from a post with id=343. What code would I use within the pages to make that happen? Here is what I've tried: <?php $id=343; ...
6
votes
5answers
2k views

How to rearrange fields in comment_form()

Im using a custom filter to change the fields, but can´t figure out how to change the order of the fields in the comment form. Desired order: comment field (first/top) name email website This is ...
0
votes
1answer
100 views

How to display a certain template element only for posts published within certain time range?

I recently migrated a blog from sub.domain.com to blogs.domain.com/sub/. Because I'm using Facebook comments, all the posts published before April 25 need to reference sub.domain.com/blog-entry-title ...
0
votes
1answer
213 views

infinite loop on page with comments after changing comments.php and header.php

I am using version 3.3.1 of wordpress but I'm following a tutorial that used version 2.7. After changing my header.php and comments.php code, I'm getting an infinite loop when I view the single post ...
4
votes
2answers
694 views

What are the current recommended best-practices for comments.php?

I'm getting ready to submit a theme to the .Org repo and wanted to make sure that everything is in ordnung. One of the biggest holes left in my design is the comments template. I've taken a look at ...
0
votes
2answers
937 views

How To Remove The “Click here to cancel reply” Link From The Wordpress Comment Form

I am trying to remove the "Click here to cancel reply" link from the Wordpress comment form on my posts. In the document there is an argument you can supply to the comment form function to remove the ...
0
votes
1answer
130 views

Removing comment option

I am working on a theme that I found here: http://top-wordpress.net/ The theme is Terapy. I turned off comment option in the admin panel, but the blog posts show that "commenting is not allowed". I ...
1
vote
4answers
1k views

How to display nothing (instead default) when no user gravatar is present?

Is there a way to show no gravatar in comment list for the commenters that are not registered at gravatar.com? As much as I saw, gravatar.com doesn't return a special code when no avatar is ...