add pag default cnt
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user