Skip to content

Instantly share code, notes, and snippets.

@bryanjswift
Created August 16, 2008 00:45
Show Gist options
  • Save bryanjswift/5685 to your computer and use it in GitHub Desktop.
Save bryanjswift/5685 to your computer and use it in GitHub Desktop.
<!-- Example of the li statement for author commenting based on ID -->
<li id="comment-<?php comment_ID() ?>" class="comment<?php if(!isset($themeOptions)) { $themeOptions = get_option('ThemeOptionStorage'); } if ($themeOptions["owner_id"] == $comment->user_id) { echo ' author'; } ?>">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment