This commit is contained in:
2025-10-20 07:36:36 +00:00
parent 726b61cde8
commit ffcc1d0f0a
4 changed files with 31 additions and 3 deletions

View File

@ -29,3 +29,29 @@ DEALLOCATE PREPARE stmt;
```
Ir al wordpress > herramientas > importar desde Joomla y ejecutar
==========================
==========================
NOTAS MIGRACIÓN
LIMPIEZA CATEGORÍAS - ELIMINAR
Blog (13), News, Review, tutorial, updates
Joomla! (24)
tutorial, updates,
Uncategorised (30)
Helbideak (8)
Service (1)
MANTENER
Berriak -> (noticias) (695)
Albisteak -> (noticias) (419)
-Lan gatazkak (Conflictos laborales) (87)
Lan gatazkak (Conflictos laborales) (83)
Servicios privados -> página
Servicios públicos -> página
Industria (2) -> página
Acerca de CNT (8) -> Acerca
Zer da CNT? -> Acerca

View File

@ -7,9 +7,9 @@ $context = Timber::context();
// Debug
global $wp_query;
error_log('🔍 Language: ' . (function_exists('pll_current_language') ? pll_current_language() : 'no polylang'));
error_log('🔍 Post type: ' . get_query_var('post_type'));
error_log('🔍 Posts found by WP: ' . $wp_query->found_posts);
// error_log('🔍 Language: ' . (function_exists('pll_current_language') ? pll_current_language() : 'no polylang'));
// error_log('🔍 Post type: ' . get_query_var('post_type'));
// error_log('🔍 Posts found by WP: ' . $wp_query->found_posts);
// WordPress ya tiene la paginación correcta en la query
$context['videos'] = Timber::get_posts([

View File

@ -19,3 +19,4 @@ $context['videos'] = Timber::get_posts([
]);
==========================

View File

@ -1,6 +1,7 @@
{% extends 'layouts/base.twig' %}
{% block content %}
{% for post in posts %}
{% include ['partials/tease-' ~ post.type ~ '.twig', 'partials/tease.twig'] %}
{% endfor %}