• Buenos días, modificando el PHP de mi web, toqué por accidente algo en la línea 19 de mi index.php (Blog) y ahora al abrir la pestaña blog de mi página (www.easing.es/blog), aparece el siguiente mensaje:
    «»Parse error: syntax error, unexpected ‘<‘ in /home3/easing/public_html/wp-content/themes/twentytwelve/index.php on line 19″»

    He estado mirando y no se arreglar este error, a continuación les dejo el trozo de código, si alguien me puede ayudar, agradecería mucho su tiempo.

    –Código–

    (1)<?php
    (2)/**
    (3)* The main template file
    (4) *
    (5) * This is the most generic template file in a WordPress theme
    (6) * and one of the two required files for a theme (the other being style.css).
    (7)* It is used to display a page when nothing more specific matches a query.
    (8) * For example, it puts together the home page when no home.php file exists.
    (9) *
    (10) * @link http://codex.wordpress.org/Template_Hierarchy
    (11) *
    (12) * @package WordPress
    (13) * @subpackage Twenty_Twelve
    (14) * @since Twenty Twelve 1.0
    (15) */
    (16)
    (17)
    (18)
    (19) <div class=»entry-content»>
    (20) <p><?php printf( __( ‘Ready to publish your first post? Get started here.’,’twentytwelve’ ), admin_url( ‘post-new.php’ ) ); ?></p>
    </div><!– .entry-content –>

    <?php else :
    // Show the default message to everyone else.
    ?>
    <header class=»entry-header»>
    <h1 class=»entry-title»><?php _e( ‘Nothing Found’, ‘twentytwelve’ ); ?></h1>
    </header>

    <div class=»entry-content»>
    <p><?php _e( ‘Apologies, but no results were found. Perhaps searching will help find a related post.’, ‘twentytwelve’ ); ?></p>
    <?php get_search_form(); ?>
    </div><!– .entry-content –>
    <?php endif; // end current_user_can() check ?>

    </article><!– #post-0 –>

    <?php endif; // end have_posts() check ?>

    </div><!– #content –>
    </div><!– #primary –>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

Viendo 3 respuestas - de la 1 a la 3 (de un total de 3)
Viendo 3 respuestas - de la 1 a la 3 (de un total de 3)

El debate ‘Error linea 19 index.php’ está cerrado a nuevas respuestas.