<?php
/**
 * Single free bundle content collection
 *
 * @package wpstream-theme
 */

?>
<!-- Post Additional Information Section -->
<?php require get_template_directory() . '/template-parts/single/post-additional-content.php'; ?>

<ul class="nav nav-tabs nav-pills" id="wpstream-product-collection-content-tab-bar" role="tablist">
	<li class="nav-item" role="presentation">
		<button class="nav-link active" id="wpstream-episodes-tab" data-bs-toggle="tab" data-bs-target="#wpstream-episodes" type="button" role="tab" aria-controls="wpstream-episodes" aria-selected="true">
			<?php esc_html_e( 'Episodes', 'hello-wpstream' ); ?>
		</button>
	</li>
	<li class="nav-item" role="presentation">
		<button class="nav-link" id="wpstream-content-tab" data-bs-toggle="tab" data-bs-target="#wpstream-content" type="button" role="tab" aria-controls="wpstream-content" aria-selected="false">
			<?php esc_html_e( 'Details', 'hello-wpstream' ); ?>
		</button>
	</li>
</ul>

<div class="tab-content" id="wpstream-product-collection-content-tab">
	<div class="tab-pane fade show active" id="wpstream-episodes" role="tabpanel" aria-labelledby="wpstream-episodes-tab">

		<?php
		$show_bundled_content   = true;
		$wpstream_section_title = esc_html__( 'Episodes', 'hello-wpstream' );
		require get_template_directory() . '/template-parts/single/section/video-episodes-content.php';
		$show_bundled_content = false;
		?>

		<!-- Gallery Section -->
		<?php require get_template_directory() . '/template-parts/single/gallery-content.php'; ?>
	</div>

	<div class="tab-pane fade" id="wpstream-content" role="tabpanel" aria-labelledby="wpstream-content-tab">
		<!-- content  -->
		<div class="wpstream-post-content">
			<?php the_content(); ?>
		</div>

		<!-- Categories Section -->
		<div class="wpstream-vod-terms-main">
			<?php
			echo wpstream_theme_show_item_categories( $post->ID );//phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
			?>
		</div>

		<!-- Author Information Section -->
		<?php require get_template_directory() . '/template-parts/single/post-comments.php'; ?>
	</div>
</div>







