Tremendous numbers of features and customizations are offered by the leading blogging platform of WordPress. Widely popular for its customizations, WordPress has come up with a unique feature that changes the format of every post effectively. Known as the WordPress post formats, this feature takes the presentation of WordPress posts to a whole new level.
About WordPress Post Formats
The availability of WordPress post format is a feature of customizing the presentation of a post. Introduced with WordPress version 3.1, it is meta information that allows the bloggers to enhance the appearance of their posts by changing its format efficiently. There is a standardized list of formats that can be used by the websites whose theme supports this feature.
- Standard Post Format: It is the default post format that can be used for an article, blog post or any other thing as it supports the addition of videos or gallery.
- Aside: Having a presentation including the Facebook note update, it allows the blogger to write some additional information.
- Gallery: Designed especially for photography or art posts, this format permits the blogger to add several images in a post.
- Link: It allows the administrators to easily share a link of another page or website, preventing the need for writing a lengthy post.
- Image: This format allows sharing a single image through a post. It is mainly used by bloggers who aim to create impact by a single image.
- Quote Post Format: A quote can be easily shared by using this format, which is not allowed in the standard post format.
- Status Post Format: It is similar to the status update on social networking sites like Twitter. However, the frequency of words allowed to be used in the status is unlimited.
- Video Post Format: It supports the addition of a video from a third party sources as well as direct upload. This format is, however, rarely used because WordPress version 3.6 offers direct upload and playback of native videos.
- Audio Post Format: Similar to the video post format, this post format allows the embedding of an audio file.
- Chat: As used for displaying chat transcript, it is a basic post format.
Reasons to Use Post Formats in WordPress
Post formats enhance the layout of every post in your blog in a simplified way. Previously, bloggers have to use categories to create a similar series of posts by manually configuring it. The creation of categories has been a kind of WordPress hacking done by the developers wherein they used to configure the layout of their blog’s posts to get the blueprint of their desired post format.
But, the categories proved to be a confusing factor for the newbies in the field of blogging. Therefore, using post formats not only improves the presentation of the website but also cuts down the tension or confusion among the bloggers.
Apart from it, post formats take the WordPress blogging platform to the next level by offering something innovative and unique in the eyes of readers. Individuals who frequently read blogs are bored of similar templates, formats of the post and interface. Post formats add different styles of posts to the blog page that increases the attractiveness of the post and makes the blog more dynamic.
Adding and Using Post Format in WordPress
The procedure of adding post formats to a WordPress file is easy for the developers who have proper knowledge of using WordPress. It should be noted that this method should be followed only by the professionals who have a fair understanding for HTML, CSS and WordPress loop.
Furthermore, WordPress post format can be added to a blog if the theme permits it. In other words, it is a theme activated feature like the custom backgrounds, custom headers, menus and post thumbnails. Therefore, before implementing the steps on the blog, every administrator must make sure that his WordPress theme permits it.
Now, starting with the procedure, the following code should be entered into the theme’s functions.php file.
It should be noted that the words “aside” and “gallery” used in the above-mentioned code is the post formats that can be used in the blog. There are many other WordPress post formats available for WordPress 3.1 or higher as discussed earlier in this article. A webmaster can replace the name of post formats mentioned in the code with a desired available post format.
After adding the code, a new “Publish” box appears in the post write panel, presented on the right side of the page. This panel displays all the post formats that are supported with the applied theme. The administrator can alter the format till the time of publishing the post through this panel. Also, one can preview the pre-styled format before publishing.
However, it should be kept in mind that webmasters have not yet specified these pre-styled posts in the theme. This means that the selection of a post format in the post panel cannot make any difference in the actual post because the theme has not received the code to display the advanced format. Therefore, it’s time to edit the post loop by using the conditional tag, i.e. has_post_format() or entering the following code.
Bloggers can now customize and create dynamic posts successfully!