link-post-format-1024x596-9242328

One of the projects we are working on lately at ThemeAvenue involves post formats.

I have been thinking a lot about those lately. I have also discussed it with a few fellow WordPress developers. I know there is a “heavy” history behind post formats. Lots of talks about how it should work, sudden withdrawal from WordPress 3.6…

Yet, the post formats are still present in the latest version of WP, and it is not easy to use them.

No Standard, No Portability

Actually, it is quite easy to use post formats. What is not easy, or even impossible for the end-user, is to keep its content from theme to theme. Most of the themes using them are creating different techniques to work with post formats data.

This leads to two huge problems:

    1. Impossible to keep the content when changing the theme,
    1. Users never know how those damn post formats work

In the end, this complexity and loss of data is imputed to WordPress, which nobody in the community wants. But why does it have to be this way?

Post formats are great. It allows for a wide variety of content to be displayed in the best possible way. It also make reading a blog more pleasant as the archive page is a lot less boring. How difficult would it be to try and define a standard way of using post formats? There is no technical challenge, it’s just a matter of decision.

Content vs Custom Fields

There are two fundamental ways of handling post formats data:

    1. Post metas
    2. The post content,

Both solutions have their pros and cons.

At the beginning of my reflection, I was more into the first solution. The main reason why solution 1 is good is because if all the data is saved in the content, then nothing is lost if the theme is changed.

However, the main drawback of this solution is that is requires a lot more data processing as the content and the format-specific data are mixed all together.

Solution 2 seemed less appealing to me at first. It would obviously make the data processing a lot easier, but keeping all data in the content seemed so much more interesting.

Then, I started to think more about standardization. If we could reach a community-driven standard, then using post metas would no more be a problem.

However, the real reason that made me change my mind is what my partner Julien brought to my attention: user experience.

Let’s imagine everything is saved in the content. How on earth is the user supposed to know how to structure his data to make the format of his choice work correctly?

link-post-format-messy-1024x596-5665295

What the hell do I have to do?

Video, audio, chat, quote, link, gallery… Those are very different data types, and it is far from easy to guess how it’s supposed to be handled.

Now, by using post metas and metaboxes, we can greatly improve the user experience by explicitly prompting the user to enter his data in specific (and well labeled) fields. Instead of guessing “where should the link URL be pasted”, the user is asked to paste the URL in a specific box. Can you see the difference?link-post-format-1024x596-9242328

Easy as pie to add a link.

The Necessity of Standardizing

Post format are a great, but also greatly under exploited. It was designed as a standard for content types, but it went only half way by standardizing the front-end part and completely neglecting the data handling.

If no standard is set, post formats will never be able to take off to their full potential. Firstly because the users don’t want to use them, secondly because developers and designers don’t express their creativity fully on this feature.

So, how about a standardization for post formats data? Do you think it’s a necessary step? Are you willing to step-in?

Leave a Reply

Your email address will not be published. Required fields are marked *