• adeking

    (@adeking)


    Hi,

    By blog at – here

    I am trying to implement official comments by inner.geek.

    I am using the empowered blue with google adsence theme. This theme has zebra style comments at the moment so that every other comment has a background. Ideally I want to change this so that only my comments have a coloured background.

    Below is the li in the comments.php for the theme I am using. I presume this is what is giving the zebra effect for the comments.

    <li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
    			<cite><?php comment_author_link() ?></cite> Says:
    			<?php if ($comment->comment_approved == '0') : ?>
    			<em>Your comment is awaiting moderation.</em>
    			<?php endif; ?>
    			<br />
    
    			<small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small>
    
    			<?php comment_text() ?>
    
    		</li>

    In the installation instructions for official comments it says I can modify the li with this code

    <li class="comment <?php echo (is_wpuser_comment() ? ' commentOfficialUser' : ''); ?>" id="comment-&lt?php comment_ID() ?>">

    This is what I want to use, but am confused becasue of the existing zebra effect in place.

    Can someone let me know what I need to do to implement this, it would be most aprechiated.

    Lots of love…

    Adrian

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Official Comments’ is closed to new replies.