Title: Some odd excerpt behavior…
Last modified: April 12, 2021

---

# Some odd excerpt behavior…

 *  Resolved [dtomasch](https://wordpress.org/support/users/dtomasch/)
 * (@dtomasch)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/some-odd-excerpt-behavior/)
 * This seems to work really great but I am having two slightly odd excerpts…
 * See [http://staging.glengarrynews.ca](http://staging.glengarrynews.ca)
 * 1. The first column on the left, has a “Dr.” for Doctor in the sentence, which
   AE of course takes as the end of a sentence when it’s not.
 * Maybe we need a little bit of a GREP to ignore a specific set of phrases that
   have periods in them?
 * 2. More oddly is the first item on the right-hand column. This appears to have
   214 words when my setting only specifies 125 words.
 * Perhaps it doesn’t play well with UL / LI?
 * Any input?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsome-odd-excerpt-behavior%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [WPKube](https://wordpress.org/support/users/wpkube/)
 * (@wpkube)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/some-odd-excerpt-behavior/#post-14313601)
 * Hi [@dtomasch](https://wordpress.org/support/users/dtomasch/)
 * 1) Yeah, when it sees a dot (or `?` or `!`) which isn’t surrounded by numbers
   it assumes it’s the end of the sentence. Will put it on the to do list to allow
   setting phrases to avoid when looking for the end of the sentence.
 * 2) That should be because you have it set to finish the sentence so it looks 
   for the dot after the 125 words and ends it there. It doesn’t take into account
   elements so it doesn’t finish on the end of the list item. Try adding a dot on
   the the previous list item (just for a test) and let me know what happens.
 *  Thread Starter [dtomasch](https://wordpress.org/support/users/dtomasch/)
 * (@dtomasch)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/some-odd-excerpt-behavior/#post-14320347)
 * 1. Thanks! Yes, that would be very helpful.
 * 2. Oh! Yes, that’s silly of me. I completely failed to notice my bullet points
   had no periods (dots.) This is probably a edge case but maybe there’s something
   to add here like, “if you’ve gone past xxx characters, you’ve probably gone too
   far.”
 * Thanks for your help!
 *  Plugin Author [WPKube](https://wordpress.org/support/users/wpkube/)
 * (@wpkube)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/some-odd-excerpt-behavior/#post-14321137)
 * You’re welcome.
 * 1. I’ve added it to the to do list for next update.
 * 2. And option for that might be added, can’t say for sure at the moment.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Some odd excerpt behavior…’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-excerpt_ae8159.svg)
 * [Advanced Excerpt](https://wordpress.org/plugins/advanced-excerpt/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-excerpt/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-excerpt/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-excerpt/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-excerpt/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-excerpt/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [WPKube](https://wordpress.org/support/users/wpkube/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/some-odd-excerpt-behavior/#post-14321137)
 * Status: resolved