index.php (twenty ten) (Créer un compte)

  • Statut : non résolu
2 sujets de 1 à 2 (sur un total de 2)
  • Auteur
    Messages
  • #491786
    Tonks84
    Membre
    Chevalier WordPress
    220 contributions

    Bonjour,

    Suite à une erreur de ma part, j’ai modifié la page index.php, et impossible de retrouver l’originale.

    Pouvez vous m’aider ?

    <?php
    /**
    * The main template file.
    *
    * This is the most generic template file in a WordPress theme
    * and one of the two required files for a theme (the other being style.css).
    * It is used to display a page when nothing more specific matches a query.
    * E.g., it puts together the home page when no home.php file exists.
    * Learn more: http://codex.wordpress.org/Template_Hierarchy
    *
    * @package WordPress
    * @subpackage Twenty_Ten
    * @since Twenty Ten 1.0
    */

    get_header(); ?>

    <div id="content">
    <div id="content" role="main">

    <?php
    /* Run the loop to output the posts.
    * If you want to overload this in a child theme then include a file
    * called loop-index.php and that will be used instead.
    */
    get_template_part( 'loop', 'index' );
    ?>
    </div><!-- #content -->
    </div><!-- #content -->

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

    Merci !

    #758715
    dean
    Participant
    Chevalier WordPress
    487 contributions

    Salut
    Pourquoi tu ne re-telecharge pas le thème ou bien wordpress pour récupérer ton index?

2 sujets de 1 à 2 (sur un total de 2)
  • Vous devez être connecté pour répondre à ce sujet.