Lamentamos las molestias. La página a la que estás intentando acceder no existe o ha sido retirada.
// 4. LIMPIEZA DE METADATOS DEL TEMA (ELIMINA FECHAS Y AUTORES) function cliera_remove_meta() { remove_action('colormag_entry_meta', 'colormag_entry_meta', 10); } add_action('init', 'cliera_remove_meta'); // 5. SOPORTE PARA CLASES PERSONALIZADAS EN GUTENBERG (LETRA CAPITAL) function cliera_editor_styles() { add_theme_support('editor-styles'); } add_action('after_setup_theme', 'cliera_editor_styles'); /* ============================================================ MOTOR VISUAL CLIERA 2026: RELACIONADOS INTELIGENTES FINAL ============================================================ */ // 1. INYECTOR INTELIGENTE (Prioridad Tags + Icono Video + Título Fijo) function cliera_inyector_relacionados_visual($content) { if ( !is_single() || is_attachment() ) return $content; $post_id = get_the_id(); $tags = wp_get_post_tags($post_id); $tag_ids = array(); if ($tags) { foreach($tags as $individual_tag) $tag_ids[] = $individual_tag->term_id; } // A. Búsqueda por TAGS $args = array( 'post__not_in' => array($post_id), 'posts_per_page' => 3, 'ignore_sticky_posts' => 1, 'tag__in' => $tag_ids, 'orderby' => 'rand' ); $query = new WP_Query($args); // B. Relleno por CATEGORÍA si no hay suficientes if ($query->post_count < 3) { $needed = 3 - $query->post_count; $exclude = array($post_id); foreach($query->posts as $p) $exclude[] = $p->ID; $categories = get_the_category($post_id); $filler_args = array( 'post__not_in' => $exclude, 'posts_per_page' => $needed, 'cat' => ($categories) ? $categories[0]->term_id : '', 'orderby' => 'rand' ); $filler_posts = get_posts($filler_args); $combined_posts = array_merge($query->posts, $filler_posts); } else { $combined_posts = $query->posts; } if ( !empty($combined_posts) ) { $output = '
'; wp_reset_postdata(); return $content . $output; } return $content; } add_filter('the_content', 'cliera_inyector_relacionados_visual', 99); // 2. SHORTCODE: [cliera_frase_1x1] function cliera_shortcode_frase_1x1() { $query = new WP_Query(array('category_name' => 'frases', 'posts_per_page' => 1, 'orderby' => 'rand')); if ( $query->have_posts() ) { $query->the_post(); $img = get_the_post_thumbnail_url(get_the_ID(), 'medium') ?: 'https://2026.cliera.com/wp-content/uploads/2026/01/Logo-web.png'; $out = ''; wp_reset_postdata(); return $out; } } add_shortcode('cliera_frase_1x1', 'cliera_shortcode_frase_1x1'); // 3. SHORTCODE: [cliera_top_leidos] (Híbrido con videos-era) function cliera_shortcode_top_leidos() { $query = new WP_Query(array( 'posts_per_page' => 5, 'orderby' => 'comment_count', 'post_type' => 'post', 'category_name' => 'notas,videos-era' )); if ( $query->have_posts() ) { $out = '
' . ($url_web ? '' : '') . '
Si posee información científica relevante para ' . $data_c['label'] . ', le invitamos a colaborar.
RESPONSABILIDAD EDITORIAL: Los contenidos de la Revista Digital y ponencias del FOSM representan la investigación original de sus autores. CLIERA es una plataforma de formación profesional; el uso de la información aquí publicada queda bajo el estricto criterio y responsabilidad del profesional sanitario.
PROPIEDAD INTELECTUAL: Los logotipos y marcas de las instituciones citadas son propiedad de sus respectivos titulares. Su uso en este portal es de carácter informativo y referencial para identificar la fuente de la evidencia científica, sin que esto implique un aval comercial o patrocinio, salvo que se indique lo contrario.
¡Vaya! No se ha encontrado la página
Lamentamos las molestias. La página a la que estás intentando acceder no existe o ha sido retirada.