Tagged: x
-
AuthorPosts
-
August 18, 2016 at 12:02 am #1136262
allancaegParticipantI’d like my blog articles to look more like on Medium.
How do I move the post meta on top of the post title?
I want to swap the positions of the meta data and title.
How do I do this?
August 18, 2016 at 2:52 am #1136422
LelyModeratorHi There,
Please copy this file _content-post-header.php from this folder \wp-content\themes\x\framework\views\renew\ to the same folder on your child theme: \wp-content\themes\x-child\framework\views\renew\.
Open the copied file and then move this line of code:
<?php x_renew_entry_meta(); ?>
Right after this line:
<header class="entry-header">
Final code should be like this:<?php // ============================================================================= // VIEWS/RENEW/_CONTENT-POST-HEADER.PHP // ----------------------------------------------------------------------------- // Standard <header> output for various posts. // ============================================================================= ?> <header class="entry-header"> <?php x_renew_entry_meta(); ?> <?php if ( is_single() ) : ?> <h1 class="entry-title"><?php the_title(); ?></h1> <?php else : ?> <h2 class="entry-title"> <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php the_title(); ?></a> </h2> <?php endif; ?> </header>Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1136262 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
