WP Post Formats - Usage

After installing WP Post Formats and adding the template tag, you can edit the post formats differences from wp-admin.

Examples

Example gallery format

<div {{ post_class() }} >
    <h2 class="entry-title"><a href="{{ permalink() }}">{{ title() }}</a></h2>
    <div class="post_content">
        {{ shortcode( '[gallery]' ) }}
    </div>
</div>

Example image format

<div {{ post_class() }} >
    <h2 class="entry-title"><a href="{{ permalink() }}">{{ title() }}</a></h2>
    <div class="post_content">
        {{ post_thumbnail( 'full' ) }}
    </div>
</div>

Example quote format

<div {{ post_class() }} >
    <h2 class="entry-title"><a href="{{ permalink() }}">{{ title() }}</a></h2>
    <div class="post_content">
        <blockquote>
            {{  content() }}
        </blockquote>
    </div>
</div>