Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
** Why are these changes being introduced: * WordPress has a default limit for page excerpts of 55 words, broken on a word boundary. This is frequently too short of a snippet to give a good indication of page content. ** Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/pw-60 ** How does this address that need: * This defines a custom function to extend the length of the excerpt to 9,999 words - which is longer than any page on our site should be. With this change, the opengraph tag `og:description` in our site headers should be a copy of all text in the page body. ** Document any side effects to this change: * This makes the notion of an "excerpt" kind of meaningless, as it just repeats the full body copy.
- Loading branch information