Tagged: x
-
AuthorPosts
-
December 31, 2016 at 5:13 am #1310862
alge4ParticipantI 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.
ThanksDecember 31, 2016 at 5:32 am #1310868
ChristopherModeratorHi 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.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1310862 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
