Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (23 sloc) 970 Bytes
<?php
/**
* Attachment Template
*
* This is the default attachment template. It is used when visiting the singular view of a post attachment
* page (images, videos, audio, etc.).
*
* @package Cakifo
* @subpackage Template
*/
get_header(); // Loads the header.php template ?>
<?php do_atomic( 'before_main' ); // cakifo_before_main ?>
<main id="main" class="site-main" role="main">
<?php do_atomic( 'open_main' ); // cakifo_open_main ?>
<?php get_template_part( 'loop-meta' ); // Loads the loop-meta.php template ?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<?php cakifo_get_loop_template( 'attachment' ); ?>
<?php endwhile; ?>
<?php do_atomic( 'close_main' ); // cakifo_close_main ?>
<?php get_template_part( 'loop-nav' ); // Loads the loop-nav.php template ?>
</main> <!-- .site-main -->
<?php do_atomic( 'after_main' ); // cakifo_after_main ?>
<?php get_footer(); // Loads the footer.php template ?>
Something went wrong with that request. Please try again.