Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1310862
    alge4
    Participant

    I wanted that my post title to be before the feature image. I have seen it done in other sites with x-theme like this screenshot.
    Thanks

    #1310868
    Christopher
    Moderator

    Hi there,

    Is this your website? http://www.arisezone.com/

    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Copy content.php from framework/views/integrity and put it in the same path inside child theme, replace existing code with following :

    <?php
    
    // =============================================================================
    // VIEWS/INTEGRITY/CONTENT.PHP
    // -----------------------------------------------------------------------------
    // Standard post output for Integrity.
    // =============================================================================
    
    ?>
    
    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <?php if(is_single('')): ?>
    	    <?php x_get_view( 'integrity', '_content', 'post-header' ); ?>
    <?php endif; ?>
      <div class="entry-featured">
        <?php x_featured_image(); ?>
      </div>
      <div class="entry-wrap">
      <?php if(!is_single('')): ?>
        <?php x_get_view( 'integrity', '_content', 'post-header' ); ?>
    <?php endif; ?>
        <?php x_get_view( 'global', '_content' ); ?>
      </div>
      <?php x_get_view( 'integrity', '_content', 'post-footer' ); ?>
    </article>

    Hope it helps.

  • <script> jQuery(function($){ $("#no-reply-1310862 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>