what the [f] is a hentry?
Seriously, does anybody know?
Every WordPress site I've worked on has all its main content placed in a div with a class of "hentry." Yet no one remembers putting it in there. We have no idea who this hentry fellow is, and I cannot find any documentation in various wordpress books online.
Can we get an explanation for this?? It's irritating me.
I typed WordPress hentry in google, first page returned - http://codex.wordpress.org/Function_Reference/post_class and defines it as hAtom microformat pages. That definition doesn't make a lot of sense to me, but Wikipedia makes it sound like a way to convert content so it can be sent as an Atom Feed. http://en.wikipedia.org/wiki/HAtom
Hope this helps a little. Maybe someone with more knowledge on feeds can give a better answer.
That is what it is :) It's a way we can style your site so it shows up better on RSS (aka Atom) feeds.
Does anyone know?....
When does it make sense to modify the hentry class? Or should it be left alone?
(I've googled "hentry" also and I haven't found an explanation except for Ipstenu above, and he makes it sound like hentry is only relevant to making RSS feed better)
It makes sense to modify when you want to style your site :) You can leave it alone, and use other classes and IDs.
Thanks Ipstenu,...at least I know it does make sense to modify hentry for certain customizations.
The issue came up because I'm having trouble making a list of picture posts display as a 2-dimensional array ( rather than a vertical list), and someone suggested I add float:left to hentry. It didn't work BTW. I guess as I learn more about css and use firebug, I'll be able to figure out what I can do with hentry.
RSS feed for this topic
You must log in to post.