-
Notifications
You must be signed in to change notification settings - Fork 38
Post Formats
RC Lations edited this page Mar 16, 2014
·
7 revisions
In our experience (building business websites for clients), Post Formats are usually left on the sidelines, so we've disabled them by default in Scaffolding.
You'll notice that we've deviated slightly here from _s. _s offers great support for Post formats using the following snippet in index.php, which allows you to create as many separate templates as needed using the content-type.php naming schema.
<?php get_template_part( 'content', get_post_format() ); ?>
Since we've disabled post formats by default (it's commented out in functions.php), in the interest of slimming the code base we deviated from the _s structure and include the content template directly in our main template files.
Scaffolding is developed by Hall Internet Marketing.