Input formats, the wonder of WordPress 3.1

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:

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 .

NOTICE : this publication is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you: