Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support multipage posts #9

Open
willnorris opened this issue Aug 25, 2012 · 0 comments
Open

support multipage posts #9

willnorris opened this issue Aug 25, 2012 · 0 comments

Comments

@willnorris
Copy link
Collaborator

When a post doesn't have an explicit excerpt, and get_the_excerpt ends up calling get_the_content, it's intelligent about getting an excerpt only for content that is on the current page of a multipage post. See this logic at http://core.trac.wordpress.org/browser/trunk/wp-includes/post-template.php#L193

Currently, opengraph uses the same description for each page of a multipage post. We should instead use the same logic as above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant