[wp-hackers] Post Formats: Conventions/Standards for Content/Layout/Style
chip at chipbennett.net
Tue Jan 11 18:02:52 UTC 2011
In a related question: is there a function to get the array of types
supported by the current Theme?
I assume it would be *get_theme_support( 'post-formats' )* - or, at least,
that would be the starting point?
If I'm reading source correctly, that should return the argument array
passed into add_theme_support( 'post-formats' )?
On Tue, Jan 11, 2011 at 11:22 AM, Dion Hulse (dd32) <wordpress at dd32.id.au>wrote:
> For the aside, I would expect it to be a short post without a title, ie.
> a status ("I'm doing such and such") but rather a quick post ("Went to
> restauraunt xx and found their food to be wonderful, blahblahblahblah, and
> ends up being about a paragraph long")
> I would expect asides, status, and link to probably not have a title,
> a chat and quote *might* have a title, the rest having titles.
> I'm looking at it from the perspective of "What needs to be titled? My
> status update titles itself, A gallery needs a description, and a gallery
> name, A chat conversation probably needs metadata, such as when it took
> place and where, which basically makes a title.."
> You might like to look at existing themes which do asides, for example, how
> twentyten and Matt use it: http://ma.tt/
> On 11 January 2011 12:05, Chip Bennett <chip at chipbennett.net> 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>
> > :
> > - *aside* - Typically styled without a title. Similar to a Facebook
> > update.
> > - *gallery* - A gallery of images. Post will likely contain a gallery
> > shortcode and will have image attachments.
> > - *link* - A link to another site. Themes may wish to use the first <a
> > href=””> tag in the post content as the external link for that post. An
> > alternative approach could be if the post consists only of a URL, then
> > that
> > will be the URL and the title (post_title) will be the name attached to
> > the
> > anchor for it.
> > - *image* - A single image. The first <img /> tag in the post could be
> > considered the image. Alternatively, if the post consists only of a
> > that will be the image URL and the title of the post (post_title) will
> > the title attribute for the image.
> > - *quote* - A quotation. Probably will contain a blockquote holding the
> > quote content. Alternatively, the quote may be just the content, with
> > source/author being the title.
> > - *status* - A short status update, similar to a Twitter status update.
> > - *video* - A single video. The first <video /> tag or object/embed in
> > the post content could be considered the video. Alternatively, if the
> > post
> > consists only of a URL, that will be the video URL. May also contain
> > video as an attachment to the post, if video support is enabled on the
> > blog
> > (like via a plugin).
> > - *audio* - An audio file. Could be used for Podcasting.
> > - *chat* - A chat transcript, like so:
> > John: foo
> > Mary: bar
> > John: foo 2
> > To my reading, there are more questions than there are answers in that
> > information.
> > For Gallery, Link, Image, Video, and Audio: will these types be expected
> > have *only* the specified content, and no other content?
> > Aside: to me, a "Facebook note update" is equivalent to a blog post.
> > (Perhaps that's merely due to the way that I use Facebook notes?) I think
> > of
> > an "aside" more of a "pullquote" or longer-than-microblog (i.e. "status")
> > comment or thought. Nevertheless, we have one bit of useful information
> > regarding convention: no Title.
> > Chat: this one baffles me. A chat is going to require some specific
> > other than the post-format designation (e.g. a table, or specific CSS
> > classes applied to specific parts of the content), which somewhat
> > the need for a Post Format type. Regardless: are there any conventions
> > the underlying markup/format for chats?
> > Which Post Format types will be expected not to have titles? Just Aside
> > Status?
> > What other layout and/or style conventions, if any, are people applying
> > each of the Post Format types?
> > Chip
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers