Skip to content
Newer
Older
100644 16 lines (13 sloc) 540 Bytes
0ee651c Some archive handling.
Dougal Campbell authored Apr 19, 2011
1 <?php
2 /**
3 * This is actually just a shim that will load the regular format
4 * template as a fallback. The idea here is that you can create
5 * archive format templates like 'format-archive-status.php' or
6 * 'format-archive-link.php'. If those templates don't actually
7 * exist, this code will instead attempt to load the regular
8 * template ('format-status.php' or 'format-link.php'). And of
9 * course, those will fall back to 'format.php'.
10 */
11
12 $format = get_post_format();
13
14 get_template_part('format', $format);
15
16 /** yes, that's all **/
Something went wrong with that request. Please try again.