• Is there any hack or plugin that will let you setup so each member when they post, the body or title of their post is a different color? It would be a great way to idenify which member wrote the post…
    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Simplest method would be to assign an unique css id for each author–which is styled in your css–and use that in a div that surrounds each post. So in The Loop you would have:

    <div id="author-<?php the_author_ID(); ?>">

    ~post content and tags here~

    </div>

    And in your css:

    #author-1 {
    color: red;
    }
    #author-2 {
    color: blue;
    }

    etc.

    That’s quite useful – However there is also Author Images availaible from coffee2code – This plugin can replace the original author code which displays the author name – with an image for the author, or it can exist alongside. Get it here:
    https://www.coffee2code.com/archives/2005/03/28/plugin-author-images/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post Color Hack?’ is closed to new replies.