add pag default cnt

This commit is contained in:
2025-10-27 16:05:52 +00:00
parent 14a4652983
commit 8b1b8e8a62
6 changed files with 17 additions and 6 deletions

View File

@@ -61,6 +61,12 @@ class StarterSite extends Site {
}
return $tag;
}, 10, 1);
// Imagen por defecto
add_filter('timber/context', function ($context) {
$context['imagen_default'] = '/wp-content/uploads/2025/10/Imagen_por_defecto_CNT.jpg';
return $context;
});
// *** SOLO USAR UNA VEZ PARA LIMPIAR. NO FUNCIONABA LA PAGINACIÓN DE SEARCH.
// add_action('init', function() {