ADD pages conflictos laborales
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* Category 'noticias'
|
||||
* Archive 'noticias'
|
||||
*/
|
||||
global $params;
|
||||
$context = Timber::context();
|
||||
@@ -14,6 +14,7 @@ $query = array(
|
||||
'posts_per_page' => get_option('posts_per_page') // Usa la configuración de WordPress
|
||||
);
|
||||
$context['posts_noticias'] = Timber::get_posts($query);
|
||||
error_log('✅ category-noticias.php - Posts: ' . count($context['posts_noticias']));
|
||||
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);
|
||||
Reference in New Issue
Block a user