Support » Plugins » New plugin: My-comments

  • For some time I had been looking for a plugin or a hack, that could style my comments different than other comments. But since I could not find such a modification, I decided to write a plugin myself.
    The plugin is really simple. Basically it looks through the comments and if it finds a comment that has the author name and the author url you have defined in the plugin, it will apply a different class to the comment. This class, mycomment, can be defined from wp-layout.css.
    Read more, view demo and download plugin
    Soon after I had written the plugin, about an hour or so, I discovered that Scriptygoddess made a hack that does the same as my-comments – just in a slightly different manner. So now you have two modifications to choose from.
    I love the Internet 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • hmm.. Doesn’t seem to work for me. The class is being declared for my comments in the .php. However my heavily modified comment display does not seem to be affected by the mycomments class in my css.

    Hi David,
    as you state yourself, the problem relates to your css.
    I have looked through your style sheet, and I think you can solve the problem by changing:
    ol#commentlist li.mycomment
    Let me know if it works 🙂

    Cheers.. Thanks for the reply I will let you know if it works.

    Yup it works like a charm.. Really nice, thank you!

    Nice Hack Martin…
    But is there eny way like idenification author or owner to use this feature ?!
    Now every one who enters Owner name and adress can use that !
    i am not a coder but i think adding a field like password or …. can help us !
    or using user sessions and … ?!
    Ali ix

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘New plugin: My-comments’ is closed to new replies.