Ideas

what the [f] is a hentry?

  1. kato
    Member

    12345

    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.

    Kato

    Posted: 1 year ago #
  2. jameyer
    Member

    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.

    Posted: 1 year ago #
  3. Ipstenu (Mika Epstein)
    Administrator

    That is what it is :) It's a way we can style your site so it shows up better on RSS (aka Atom) feeds.

    Posted: 1 year ago #
  4. craigwharris
    Member

    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)

    Posted: 5 months ago #
  5. Ipstenu (Mika Epstein)
    Administrator

    It makes sense to modify when you want to style your site :) You can leave it alone, and use other classes and IDs.

    Posted: 5 months ago #
  6. craigwharris
    Member

    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.
    Thanks.

    Posted: 5 months ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    4 Votes
  • Status

    This is not a core suggestion

Tags