Exemplo n.º 1
0
    // creating the post header
    cleanyetibasic_postheader();
    ?>
						</div>

					</div>
					<div class="entry-content">

						<div class="entry-attachment text-center panel radius"><?php 
    the_attachment_link($post->ID, true);
    ?>
</div>

	                        <?php 
    the_content(cleanyetibasic_more_text());
    cleanyetibasic_numerical_link_pages(array('before' => sprintf('<div class="pagination-centered"><ul class="page-numbers">%s', __('<li class="unavailable">Pages:<li>', 'cleanyetibasic')), 'after' => '</ul></div>'));
    ?>

						<div class="row">
							<div class="large-12 columns">
								<ul id="image-nav-below" class="image-nav small-block-grid-2">
									<li><div class="image-previous left"><?php 
    previous_image_link();
    ?>
<p><?php 
    previous_image_link('thumbnail', '&laquo; Previous');
    ?>
</p></div></li>
									<li><div class="image-next right"><?php 
    next_image_link();
    ?>
 /**
  * The Single post loop
  *
  * Located in single.php
  *
  * Override: childtheme_override_single_post
  */
 function cleanyetibasic_single_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);
     if (function_exists('cleanyetibasic_numerical_link_pages')) {
         cleanyetibasic_numerical_link_pages(array('before' => sprintf('<div class="pagination-centered"><ul class="page-numbers">%s', __('<li class="unavailable">Pages:<li>', 'cleanyetibasic')), 'after' => '</ul></div>'));
     } else {
         wp_link_pages();
     }
     // action hook for insterting content below #post
     cleanyetibasic_belowpost();
 }