<?php

// =============================================================================
// VIEWS/ICON/CONTENT-AUDIO.PHP
// -----------------------------------------------------------------------------
// Audio post output for Icon.
// =============================================================================

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  <div class="entry-wrap">
    <?php x_icon_comment_number(); ?>
    <div class="x-container max width">
      <?php x_get_view( 'icon', '_content', 'post-header' ); ?>
      <?php if ( has_post_thumbnail() ) : ?>
      <div class="entry-featured">
        <div class="entry-thumb">
          <?php x_icon_output("f0c1", "x-entry-thumb-icon"); ?>
          <?php echo get_the_post_thumbnail( get_the_ID(), 'entry', NULL ); ?>
        </div>
        <?php x_featured_audio(); ?>
      </div>
      <?php else : ?>
      <div class="entry-featured">
        <?php x_featured_audio(); ?>
      </div>
      <?php endif; ?>
      <?php if ( is_single() ) : ?>
        <?php x_get_view( 'global', '_content', 'the-content' ); ?>
      <?php endif; ?>
    </div>
  </div>
</article>
