ythibodeau
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Auto-approve comments…Anyone?
Forum: Fixing WordPress
In reply to: Different backgrounds for comments…Works fine now, thanks for all your help guys!
Forum: Fixing WordPress
In reply to: Different backgrounds for comments…I think I’ll cry.
Seriously, I don’t get why the comment is not like the header (which it should…)Forum: Fixing WordPress
In reply to: Different backgrounds for comments…There is obviously something wrong…
See below:
https://www.coldplayfansite.com/wordpress/?p=3Code in comments.php is:
<div class="commentlist">
<?php foreach ($comments as $comment) : ?>
<p class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
<strong><?php comment_author() ?></strong>'s comment:
<?php if ($comment->comment_approved == '0') : ?>
<em>Your comment is awaiting moderation.</em>
<?php endif; ?><small><?php comment_date('F jS, Y') ?> at <?php comment_time() ?> <?php edit_comment_link('Edit comment','',''); ?></small>
<?php comment_text() ?>
<?php /* Changes every other comment to a different class */
if ('alt' == $oddcomment) $oddcomment = '';
else $oddcomment = 'alt';
?><?php endforeach; /* end for each comment */ ?>
</div>
And css is:
.commentlist p.alt {
background: #eeeeee;
}But only headers get the .alt and not the entire comment, which should be included since it’s between the 2
<p>
Forum: Fixing WordPress
In reply to: Different backgrounds for comments…I only get the header of the comment to be different?
I want the entire comment…Forum: Fixing WordPress
In reply to: Different backgrounds for comments…Any example of .alt class for me?
Forum: Fixing WordPress
In reply to: Different backgrounds for comments…I need to nknow where to insert the class names…
Forum: Fixing WordPress
In reply to: Different backgrounds for comments…Anyone?
Forum: Fixing WordPress
In reply to: Different backgrounds for comments…That’s the only thing I can see???
<?php /* Changes every other comment to a different class */
if ('alt' == $oddcomment) $oddcomment = '';
else $oddcomment = 'alt';
?>Forum: Fixing WordPress
In reply to: Modify Login…It’s cool, but not perfect.
Wrong password or register comes back to this WORDPRESS login/register page…Forum: Fixing WordPress
In reply to: Modify Login…That’s eaxactly what i’d like to do, nclude the login/pass to the sidebar…
Forum: Fixing WordPress
In reply to: Modify Login…Crap.
I’d like to integrate the login feature in my template and not use the WORDPRESS one.Any other options?
Forum: Fixing WordPress
In reply to: Post ArchiveI’ll start crying now…
Forum: Fixing WordPress
In reply to: Post ArchiveAnyone!?!?!?