One of the novelties that we will find in the future version of WordPress 3.1 will be the input formats a way to apply custom styles from the theme to different types of publications that we generate with WordPress, something that I consider the natural evolution of the input types .
For this, the input formats are already being introduced in the trac of which at the moment we have …
- aside – Normally untitled, the famous miniposts, as an update on Facebook or Twitter or in the theme Prologue (or P2)
- chat – Transcripts of chat
- gallery – Image galleries
- link – When they are simply links to other sites
- image – When only one image is published
- quote – Dating
- status – An ac short status update, limited to 140 characters as in Twitter. In this case I see it as redundant with the "aside" format
- video – When a video is just published
It has also been indicated to add the "audio" formats, for podcasts or similar, and "code" for those small pieces of programming that, here for example, are shared with the readers.
The interface of the input formats will be more or less like this …
As you can see, you can define the input format in the editor and, later, in the ticket management screen will be identified. However Matt does not like to appear as one more line in the publishing widget, so it's not definitive.
Adding input format support is as simple as adding a line like the following to file '
functions.php ' of your theme:
add-theme_support ( 'post-formats' array ( ' aside ' ' quote ' ' video ' ' gallery ' ) ) ;
The input formats, or " post formats ", will require updates to our favorite themes, which will add to their current virtues the inclusion of special CSS classes for each type of input format, taking WordPress themes to a higher level. There will also be whoever sounds like this Tumblr call it what you want, in the end is to offer more options to have a more complete WordPress.
Personally I think it's a fantastic idea, that leads WordPress to another level of personalization and much superior design .