Post Formats in the context of the Database ‘Save Post’ function

I am trying to pick up an in-depth understanding of how post-formats relate to posts ‘in the database’ – i.e. what meta information when compiled together constitutes a post format. And yes, I do mean a post format (NOT a post type).

All of the documentation I can find assumes a starting point where post_format is selected from the meta box on the ‘New Post’ page. I’m working with a plugin (wootumblog) which uses a custom ‘save_post’ function, so need to understand more about how this actually works.

Read More

I see several tables involved including *wp_terms* (where the post_format slug is referenced against term_id) and *wp_term_relationships* (where the term_id is referenced against the post_id or object_id as the column is named) but I’m unclear as to whether wp_postmeta needs to be updated or are these two ‘terms’ tables sufficient for wordpress to work with?

I basically have a problem integrating the wootumblog and wpmu sitewide tags plugins together, and suspect this may be caused by the different protocols they use to save a post.

This seems a pretty barren area for documentation, so if someone speaks the post format lingo, it would be really useful to outline how it all works at a ‘data’ level.

Related posts

Leave a Reply

1 comment