If comments.php (yes, the comments template) does not exist with a theme, WordPress will use the Default theme’s comments.php. This is why a number of themes do not sport one.
Oh, and the comments_template() function is found in…
wp-includes/comment-template.php.
Thread Starter
aarrgg
(@aarrgg)
Thanks!
By copying some code from the default css file I am able to manipulate the looks of the comments.
Still, WP refuses to use the comments.php in the theme and I get no result by editing the comments.php in the default theme. Is there another comments.php?
“Is there another comments.php?“
No. I can’t say what’s going on in the background here. Any chance file caching is occuring on the server, or through a WordPress plugin?
Thread Starter
aarrgg
(@aarrgg)
Of course, a guestbook plugin was activated. Apparently it changed the comment template for posts too.
Problem solved, thx again.
(@aarrgg)
18 years, 3 months ago
Now I feel like an idiot but I can’t figure it out.
There’s is a template named comments.php but it makes no difference in my blog if I edit it or even delete it.
In the page.php template (is this the template the posts use?) there’s the line “comments_template()”. Where can I find that method and check which template it uses?