30Mar

Custom css for author comments on wordpress

Posted by Mr Leet as Wordpress

Wow! I just got done reading a blog that kind of told users an outdated way to highlight (with CSS) author’s comments. So in order to help clear up some things I’m going to break the process down. (note this is for wordpress 2.7 and up!)

THIS WEBSITE SHOWS HOW TO DO IT

I know I know… all I did was post a link to another blog that shows how to do this… But there are some things I needed to add (from my understanding):

  • Some plugins may conflict with li.bypostauthor
  • using a different/custom callback function (with: wp_list_comments) will require you to code li.bypostauthor in the new function yourself. (again, a plugin might be doing something to your callback function… So keep an eye on that)
  • Old themes wont support it.

otherwise, if your theme is up to date everything should go smooth by just adding:

li.bypostauthor { css comes in here }

to your style sheet as the previous link said to do ;)

Related posts:

  1. Digg like comments for wordpress
  2. How to add line breaks in wordpress
  3. Integrate phpbb3 with wordpress plugin: wp-united

Comment Form

Calendar

September 2010
M T W T F S S
« Jul    
 12345
6789101112
13141516171819
20212223242526
27282930