<?php
/**
 * Output of the single match post.
 *
 * @package cyberpress/templates
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

$match = cyberpress()->get_the_match();
?>

<?php do_action( 'cyberpress_before_single_match' ); ?>

<article id="post-<?php echo esc_attr( $match->get_id() ); ?>" <?php $match->match_classes(); ?>>

    <?php do_action( 'cyberpress_single_match_title' ); ?>

    <div class="entry-content">

        <?php do_action( 'cyberpress_single_match_participants' ); ?>

        <?php do_action( 'cyberpress_single_match_content' ); ?>

        <?php do_action( 'cyberpress_single_match_videos' ); ?>

        <?php do_action( 'cyberpress_single_match_screenshots' ); ?>

    </div><!-- .entry-content -->

    <?php edit_post_link( esc_html__( 'Edit', 'cyberpress' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
</article><!-- #post-## -->

<?php do_action( 'cyberpress_after_single_match' ); ?>
