<?php
/**
 * Template part for displaying posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package WordPress
 * @subpackage Twenty_Nineteen
 * @since 1.0.0
 */
?>
<?php
$idCarousel = 'carousel'.$name.'Item_'.$i;
$listaContenido[$idCarousel] = array(
	'sitio_id' => get_current_blog_id(),
	'post_id' => get_the_ID(),
	'tipo' => $name,
	'fuente' =>$categories
);
?>

<div id="<?php echo $idCarousel;?>" class="carousel-item <?php if ($i===0){echo "active";} ?> tarjeta-videos" data-interval="false">
	<div class="carousel-item-inner"></div>
	<div class="carousel-caption d-md-block">
		<h5><?php the_title(); ?></h5>
	</div>
</div>