Introduction to WordPress Post Formats

December 23, 2013 |

WordPress offers several default post formats, as quoted from their website: aside – Typically styled without a title. Similar to a Facebook note update. gallery – A gallery of images. Post will likely contain a gallery shortcode and will have image attachments. link – A link to another site. Themes may wish to use the first <a href=””> tag in the post content as the external link for that post. An alternative approach could be if the post consists only of a URL, then that will be the URL and the title (post_title) will be the name attached to the anchor for it. image – A single image. The first <img /> tag in the post could be considered the image. Alternatively, if the post consists only of a URL, that will be the image URL and the title of the post (post_title) will be the title attribute for the…    read more