Moving meta information (author, date) from TOP of post to BOTTOM of post

Hi Aigars,

I am using Travelify version 2.2.0 for my website bioinroma.it.
As first, i say thank you, it’s a very good work and to get it for free is fantastic.

I have a question.
I have a Category (Cura di Sé) and i want to create some posts inside it.
But when i share the post on facebook, the preview on facebook shows only Metadata informations: author, date and category.
For this reason i need to move the meta informations from TOP to the BOTTOM of post: how can i do?

Thanks in advance and happy new year.

Alfredo Pochet

Sorry for late response.

You can move post meta at the bottom of a single post by move this chunk of code that you can find on theme folder - library - structure on line 274-285.

<div class="entry-meta-bar clearfix">
	<div class="entry-meta">
			<span class="author"><a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"><?php the_author(); ?></a></span>
			<span class="date"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( get_the_time() ); ?>"><?php the_time( get_option( 'date_format' ) ); ?></a></span>
			<?php if( has_category() ) { ?>
       		<span class="category"><?php the_category(', '); ?></span>
       	<?php } ?>
			<?php if ( comments_open() ) { ?>
       		<span class="comments"><?php comments_popup_link( __( 'No Comments', 'travelify' ), __( '1 Comment', 'travelify' ), __( '% Comments', 'travelify' ), '', __( 'Comments Off', 'travelify' ) ); ?></span>
       	<?php } ?>
	</div><!-- .entry-meta -->
</div>

And move this code down to line 315 right after this </div>

Now you should see meta information below each post instead of at the top.

Let me know if this helps