The MU forums have moved to WordPress.org

strip_tags($comment->com_excerpt) ??? (1 post)

  1. sepp88
    Member
    Posted 15 years ago #

    hello,

    i have a simple question. i'm using a sitewide-comments plugin i found anywhere in the wpmu archives. i love the plugin.

    however i don't know if com_excerpt is DEFINITION brought with this plugin or if com_excerpt comes with WP itself.

    i would love to query if a comment's characterlength is less then the com_excerpt-LENGTH itself?? For example someone posts a comment with a length of 150 characters the sitewide-comments widget which comes with the sitewide-comment plugin shows only the excerpt and at the end adds a "READ MORE"-link. However if a comment has only a length of 10 characters the "READ MORE" link gets shown as well, and that's nonsense because there's nothing to read more!!!

    so i simply want to query if a comment is less then the actual length of com_excerpt! is that possible?

About this Topic

  • Started 15 years ago by sepp88