<3,
'ignore_sticky_posts' => 1
);
$carrusel_query = new WP_Query($carrusel_args);
if ($carrusel_query->have_posts()) :
while ($carrusel_query->have_posts()) : $carrusel_query->the_post();
?>
'img-fluid h-100', 'style' => 'object-fit: cover; width:100%;'));
} else { ?>
term_id)) . '">' . esc_html($categoria[0]->name) . '';
}
?>
4,
'offset' => 3, // Saltarse las 3 del carrusel
'ignore_sticky_posts' => 1
);
$secundarias_query = new WP_Query($secundarias_args);
if ($secundarias_query->have_posts()) :
while ($secundarias_query->have_posts()) : $secundarias_query->the_post();
?>
'img-fluid w-100 h-100', 'style' => 'object-fit: cover;'));
} ?>
term_id)) . '">' . esc_html($categoria[0]->name) . '';
}
?>