<?php
/**
 * Template used for displaying content of "status" format posts on archive page.
 * It is used only on page with posts list: blog, archive, search
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
} // Exit if accessed directly


$content = get_the_content();
?>

<div class="formatter">
    <?php barter_post_meta_data(); ?>
    <h2 class="post-title"<?php barter_schema_args('headline'); ?>><?php the_title(); ?></h2>
    <?php echo strlen($content)? '<div class="real-content"'.barter_get_schema_args('headline').'>'.wp_kses_post($content).'</div>' : ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
</div>
