# Part of the "magic" of the #indieweb is microformats markup (more specifically, microformats2) which helps sites pick out key pieces of information from one another so they can communicate more effectively.
This is added to content by the addition of classes and the h-entry class, for example, denotes an individual post.
Previously I had the h-entry class added to the <entry>
pseudo element which tested okay at indiewebifyme.me and everything worked fine.
Last night, for no real reason, I decided to re-run the various indiewebify tests and found that my h-entry details were no longer being picked up.
It seems that the class detection may have altered and that h-entry no longer works on the <entry>
element. Moving it to the <article>
container made it work again.
The theme, however, already assigns various classes to <article>
based on factors like the type of post using the post_class()
function, so how to add h-entry without breaking anything?
Fortunately, an additional class can be added using the same function by simply passing it as a parameter, like so: post_class( 'h-entry' )
Problem solved.
@colinwalker that is a weird change! You were right to be concerned.
@nitinkhanna It just looked like some kind of alert or notification and I couldn't work out why. Not the best design choice if I'm honest.
@colinwalker true, true!