Skip to main content
 

Replied to a post on github.com :

Class entry-content div contains too much · Issue #470 · WordPress/twentysixteen https://github.com/WordPress/twentysixteen/issues/470

It appears that the <div class="entry-content"> spans more content than it should. (I'm actually a bit surprised that a modern facing theme like TwentySixteen doesn't fully support [microformats 2](http://microformats.org/wiki/microformats2) instead of the older microformats1 spec.)

Specifically I think that the entry-content div should end before the following functionalities when they're included:
<div class="sharedaddy> (Jetpack's Share This functionality),
<div id="jp-relatedposts"> (Jetpack's related posts functionality)
<div class-"author-info"> (Gravatar author information)

Essentially the semantic class "entry-content" should only contain the content written in the body of a post by the user and shouldn't really include the additional information by these other plugins.

As an example, by having entry-content include these additional pieces, users, when syndicating content semantically to other services like Tumblr, Facebook, or even RSS readers, will include this additional (often unwanted content). See also:
https://github.com/kylewm/KnownReactions/issues/11#issuecomment-224120974
https://github.com/dshanske/syndication-links/issues/23

Cross Reference: http://microformats.org/wiki/hentry