CHANGE hide comments

This commit is contained in:
2025-10-22 10:03:03 +00:00
parent b57069589e
commit 0027c75833
2 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -13,8 +13,9 @@ $query = array(
'paged' => isset($params['paged']) ? $params['paged'] : 1,
'posts_per_page' => get_option('posts_per_page') // Usa la configuración de WordPress
);
$context['posts_noticias'] = Timber::get_posts($query);
error_log('✅ archive-noticias.php - Posts: ' . count($context['posts_noticias']));
// error_log('✅ archive-noticias.php - Posts: ' . count($context['posts_noticias']));
Timber::render('templates/page-noticias.twig', $context);