[wp-hackers] Post Formats: Conventions/Standards for Content/Layout/Style

Chip Bennett chip at chipbennett.net
Tue Jan 11 19:05:20 UTC 2011

There's one example of what I'm talking about: for a "link" type Post, does
the URL get placed by itself in the_title, or is it merely output as the
Title, or as part of the_content(), etc.?

Much of how these Post Formats get used will depend on data-entry
conventions, especially with respect to links, chats, etc.

If thought has gone into establishing such conventions, I'm curious what the
current consensus is; if thought *hasn't* gone into establishing such
conventions: why not?


On Tue, Jan 11, 2011 at 12:40 PM, Dougal Campbell <dougal at gunters.org>wrote:

> On Jan 11 2011 12:05 PM, Chip Bennett wrote:
>> What conventions/standards exist, or are people beginning to assume, with
>> respect to each of the Post Format types? The Codex sheds some, albeit
>> little, light on the
>> matter<http://codex.wordpress.org/Post_Formats#Supported_Formats>
>> :
> My understanding is that the descriptions on the Codex page are merely
> suggestions (in fact, I did some minor edits to the page a few days ago to
> make that a little more clear). While I don't have any particular advice, I
> did use the ideas there about the Link format when I was setting up the
> WordPreh site.
> In particular, I created a custom function to extract the first link out of
> the content, and consider that "the" link for the post. It will look for
> either a URL on a line by itself, or the first <a href="..."> in the
> content. In our particular case, we make the post title on the homepage link
> to "the" URL for a Link-formatted article.
> When I get a chance to write it up, I'll share the code for the function.
> As for the rest of the Format types, the visual presentation, and how to
> actually provide the content, is really going to be up to the themer. I'm
> sure that there will be themes that expect different markup for chats, etc.
> --
> Dougal Campbell <dougal at gunters.org>
> http://dougal.gunters.org/
> http://twitter.com/dougal
> http://twitual.com/
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list