I just upgraded to V1.5 and want to tweak the comment output "template." In earlier versions this was done by editing the wp-comments.php page. How do I do this editing with the new version?
Thanks!
I just upgraded to V1.5 and want to tweak the comment output "template." In earlier versions this was done by editing the wp-comments.php page. How do I do this editing with the new version?
Thanks!
If you're using a theme, find comments.php in the theme's folder. If the file does not exist, copy wp-comments-post.php from the WP's root directory to theme's directory as comments.php.
And modify the file to your liking.
I don't see anything to change though. I want to change the output, etc. Like where it says "Commenter Says:" I don't see that text to modify.
And I created my own theme, if that helps. This is the only frustrating part I've encountered during the upgrade.
Thanks!
FYI Alphaoide - that didn't work. It just threw a bunch of errors. Basically I want to just tweak the look of the comments page. My comment box is too big and runs into my sidebar (http://www.daisyhead.org/?p=1489#comments) and there are a few other things I'm anal about. I'm looking through all my files, but am unble to find where to change this.
Actually, I think I got it. I just put the comments.php file from one of the default themes into my own theme folder. Seems to be working.
The only thing that's bugging me, my text for the commenter name is a different color than the rest of the text and I can't figure out why.
Example: http://www.daisyhead.org/?p=1485#comments
Can't figure out why the words "Said" and "on" aren't the same color as the rest of the text. Anyone have any ideas? I've checked and can't seem to see any formatting. It's strange.
They look the same to me.
The commenter names are a diff color because they are links.
What color do you want said on to be? The same as the comment itself?
Oh, I see it.
It's because the text is enclosed in <p> while "Said" and "on" are enclosed in <small>. Just make the appropriate changes in the css file.
If your file named comments.php you must delete this
"is_single() " in this (single.php or index.php) line :
<?php comments_template( is_single() ); // Get wp-comments.php template ?>
now its working in my blog...
Fortius, I don't appear to even have that line in my comments.php file. LOL. This is crazy. I've tried putting that particular text into paragraph tags, but it won't format the paragraph right. I'm still playing with my .css file to see if I can fix it from there.
Thanks to everyone for their input on this problem. A little css tweaking and the problem is fixed. I am LOVING the new version!!
This topic has been closed to new replies.