Closed benoitchantre closed 5 years ago
Good issue. Are you interested in contributing with a PR, or highlight which rules you'd like to see changed?
Yes. I’ll either add some comments or work on a PR next week.
I'll try to work on it this week.
At the moment, WP Rig has styles on the following classes related to microformats:
hentry
entry-title
entry-content
entry-summary
updated
published
The only class not added by WP Rig is hentry
(added by post_class()
).
I would like to see styles removed from hentry
, entry-title
, entry-content
and entry-summary
.
This involves to add new classnames as replacements where entry-title
, entry-content
and entry-summary
are used in the templates. These new classnames may depend on #109.
I wouldn’t remove the microformat classes, just add new styling hooks
At the moment, the idea is not to remove the microformat classes, only to move styles to other classes in order to decouple the microformat classnames and the styles. In a second step, structured data could be added with JSON-LD (recommended by Google) instead of microformats.
Ah, ok, I misread your comment regarding changing the class names. Also json-ld != microformat and I would argue not removing microformats if you want to add JSON-LD
Classes used for structured data should not be part of the stylesheet. Having structured data or not should not have an influence on the appearance of the site.
Related issues from Underscores: