clean
This commit is contained in:
26
MIGRATION.md
26
MIGRATION.md
@ -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
|
||||
@ -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([
|
||||
|
||||
@ -19,3 +19,4 @@ $context['videos'] = Timber::get_posts([
|
||||
]);
|
||||
==========================
|
||||
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
{% extends 'layouts/base.twig' %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% for post in posts %}
|
||||
{% include ['partials/tease-' ~ post.type ~ '.twig', 'partials/tease.twig'] %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user