<?php
/**
 * Post-entry footer.
 *
 * @package          Flatsome\Templates
 * @flatsome-version 3.16.0
 */

?>
<footer class="entry-meta clearfix">
	<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
		<?php
			/* translators: used between list items, there is a space after the comma */
			$categories_list = get_the_category_list( __( ', ', 'flatsome' ) );
		?>
		<span class="cat-links">
			<?php printf( __( 'Posted in %1$s', 'flatsome' ), $categories_list ); ?>
		</span>

		<?php
			/* translators: used between list items, there is a space after the comma */
			$tags_list = get_the_tag_list( '', __( ', ', 'flatsome' ) );
			if ( $tags_list ) :
		?>
		<span class="sep">&nbsp;|&nbsp;</span>
		<span class="tags-links">
			<?php printf( __( 'Tagged %1$s', 'flatsome' ), $tags_list ); ?>
		</span>
		<?php endif; // End if $tags_list ?>
	<?php endif; // End if 'post' == get_post_type() ?>

	<?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
	<span class="comments-link pull-right"><?php comments_popup_link( __( 'Leave a comment', 'flatsome' ), __( '<strong>1</strong> Comment', 'flatsome' ), __( '<strong>%</strong> Comments', 'flatsome' ) ); ?></span>
	<?php endif; ?>
</footer>
