wordpress-opengraph icon indicating copy to clipboard operation
wordpress-opengraph copied to clipboard

support multipage posts

Open willnorris opened this issue 13 years ago • 0 comments

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.

willnorris avatar Aug 25 '12 04:08 willnorris