• I know that this code lets me alter the way my comment looks as opposed to others:

    <?php
    $isByAuthor = false;
    if($comment->comment_author_email == ‘[email protected]’) {
    $isByAuthor = true;
    }
    ?>

    What I’m wondering is…

    How can I alter that code to apply to everyone EXCEPT a certain e-mail?

    I assume it would mean altering this part of the code:

    if($comment->comment_author_email == ‘[email protected]’)

    Anyone know how to accomplish this?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need Code to Alter Comments’ is closed to new replies.