Ever since Standard Theme 3 dropped, I have really been a huge fan of having Post Formats support. It’s really great to have different types of posts that can be distinguished and have a different design and layout.
Post Formats were introduced in WordPress 3.1. Here’s what the WordPress Codex says about them:
A Post Format is a piece of meta information that can be used by a theme to customize its presentation of a post.
In Standard Theme, there are 6 post formats that are currently supported. Each of them have their own loop file that you define the layout in each file. Here’s the list of the supported ones in Standard Theme and their respective file:
- Standard - loop.php
- Status - loop-status.php
- Image - loop-image.php
- Link - loop-link.php
- Quote - loop-quote.php
- Video - loop-video.php
What if you wanted to edit one of these on your site?
It’s actually quite easy. First you want to create a child theme if you haven’t already. If you haven’t, here’s a great place to start. Once you have that setup, go into the core standard folder and copy the file you want to edit. You would then paste it into your child theme. Next make your changes, refresh your page, and feel great about yourself.
How does it work?
Well, without going into all the details around child theming here’s a short answer. Any file that you have in your child theme will override the one from the core theme. This makes it super easy to add your own changes and not have to worry come time to update Standard Theme that your changes will be wiped out. I plan on going into detail on each Post Format sometime soon.
Anyone have any questions about Post Formats?