• Resuelto asantana1

    (@asantana1)


    Buenas tardes,

    He realizado un cambio en el header.php para quitar el widget del chatbot pero parece que me he cargado algo más que eso.

    Ahora no se muestra la información de los artículos por ejemplo https://blog.entrees.es/5-miradores-de-gran-canaria/ . Ocurre igual con el resto de artículos. No tengo ningún plugin de copia de seguridad y tampoco en el servidor. ¿Cómo puedo restaurar el código para que los artículos se muestren bien?

    Así es como está ahora el código de header.php del sitio blog.entrees.es:

    <?php
    /**
     * The template for displaying the header
     *
     * This is the template that displays all of the <head> section, opens the <body> tag and adds the site's header.
     *
     * @package HelloElementor
     */
    
    if ( ! defined( 'ABSPATH' ) ) {
    	exit; // Exit if accessed directly.
    }
    ?>
    <!doctype html>
    <html <?php language_attributes(); ?>>
    <head>
    
    <!-- Google tag (gtag.js) -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-D7GFCKB3FH"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
    
      gtag('config', 'G-D7GFCKB3FH');
    </script>
    	
    
    </head>
    <body <?php body_class(); ?>>
    
    <?php hello_elementor_body_open(); ?>
    
    <a class="skip-link screen-reader-text" href="#content">
    	<?php esc_html_e( 'Skip to content', 'hello-elementor' ); ?></a>
    
    <?php
    if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'header' ) ) {
    	if ( did_action( 'elementor/loaded' ) && hello_header_footer_experiment_active() ) {
    		get_template_part( 'template-parts/dynamic-header' );
    	} else {
    		get_template_part( 'template-parts/header' );
    	}
    }
    


    Espero que me puedan ayudar.

    Muchas gracias de antemano.


    La página con la que necesito ayuda: [accede para ver el enlace]

Viendo 7 respuestas - de la 1 a la 7 (de un total de 7)
Viendo 7 respuestas - de la 1 a la 7 (de un total de 7)
  • El debate ‘He cambiado el header.php y he roto el sitio’ está cerrado a nuevas respuestas.