I’m writing my first plugin and hit a wierd snag. I’m using get_the_excerpt(), which automatically uses the first 120 (I think) characters of the post if there isn’t a specified excerpt. However, when it does this, it doesn’t seem to go through the same set of filters as a specified excerpt would. Some of the characters are different and less URL-encoding friendly. Any ideas why or how to fix this?
Hope this question makes sense. Rereading it’s a bit confusing. Thanks for any help you might be able to offer.
- The topic ‘Working with get_the_excerpt() in plugin’ is closed to new replies.