Skip to content

Post Formats #16

@cdharrison

Description

@cdharrison

The latest updates added support for WordPress Post Formats. I made a change to simple_post_class to add a class to help target these alternate formats... Previous, "hentry" is the only class we forced. Now if it's a standard post format, it stays "hentry". Otherwise, it'll get a class such as "hentry post-aside" where 'post' will change depending on the Post Type, and 'aside' would reflect whatever the Post Format is set to.

I hate adding extra classes given our goals with this theme, but thought in this case these would help with stylizing the alternate post formats...

For or against this change? Prefer we do it differently? Let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions