X Theme | Adding Image above Posts page content

To add a image at the top of the X-Theme post page, you need to edit the following file: framework/views/global/_index.php

Then you can add the a image or anything by adding your content around line 28 like shown below. In bold is the change I made:

<?php if ( $condition ) : ?>
  <?php x_get_view( ‘global’, ‘_script’, ‘isotope-index’ ); ?>
 <img class=”wp-image-6095 aligncenter” src=”imagesource” alt=”” width=”368″ height=”69″ />
  <div id=”x-iso-container” class=”x-iso-container x-iso-container-posts cols-<?php echo $cols; ?>”>
    <?php if ( have_posts() ) : ?>
      <?php while ( have_posts() ) : the_post(); ?>
        <?php if ( $stack != ‘ethos’ ) : ?>
          <?php x_get_view( $stack, ‘content’, get_post_format() ); ?>
        <?php else : ?>
          <?php x_ethos_entry_cover( ‘main-content’ ); ?>
        <?php endif; ?>
      <?php endwhile; ?>
    <?php else : ?>
      <?php x_get_view( ‘global’, ‘_content-none’ ); ?>
    <?php endif; ?>
  </div>