* * @link http://codex.wordpress.org/Using_Image_and_File_Attachments Codex:Using Attachments */ // calling the header.php get_header(); // action hook for placing content above #container cleanyetibasic_abovecontainer(); // action hook for placing content above #content cleanyetibasic_abovecontent(); // filter for manipulating the element that wraps the content echo apply_filters('cleanyetibasic_open_id_content', '<div id="content">' . "\n\n"); // start the loop while (have_posts()) { the_post(); // action hook for placing content above #post cleanyetibasic_abovepost(); ?> <div id="post-<?php the_ID(); ?> " <?php post_class(); ?> > <div class="row"> <div class="large-12 columns"> <?php // creating the post header cleanyetibasic_postheader(); ?>
/** * The Tag loop * * Located in tag.php * * Override: childtheme_override_tag_loop */ function cleanyetibasic_tag_loop() { while (have_posts()) { the_post(); // action hook for insterting content above #post cleanyetibasic_abovepost(); //post-formats $format = get_post_format(); if (false === $format) { $format = 'standard'; } get_template_part('library/postformats/format', $format); // action hook for insterting content below #post cleanyetibasic_belowpost(); } }