[WP.org] Problème, mon content ce répète à chaque article poster…

  • Avatar de Inconnu

    [b]Bonjour à tous et à toute, j’ai un petit problème aujourd’hui, mon content (Le contenu) ce répète à chaque article poster sur mon site WordPress ![/b]

    [i]Si vous ne comprenez pas ce que je veux vous dire, voici une image du problème :[/i]

    [img]http://upz.fr/nPm9R.png[/img]

    [u][b]Voici mon content.php :[/b][/u]

    <?php
    /**
    * The default template for displaying content. Used for both single and index/archive/search.
    *
    * @package WordPress
    * @subpackage Twenty_Twelve
    * @since Twenty Twelve 1.0
    */
    ?>
    </div>
    <div id= »content »>
    <div id= »boxeg »>
    <article id= »post-<?php the_ID(); ?> » <?php post_class(); ?>>
    <?php if ( is_sticky() && is_home() && ! is_paged() ) : ?>
    <div class= »featured-post »>
    <?php _e( ‘Featured post’, ‘twentytwelve’ ); ?>
    </div>
    <?php endif; ?>
    <header class= »entry-header »>
    <?php the_post_thumbnail(); ?>
    <?php if ( is_single() ) : ?>
    <div id= »hautg2″> <h1 class= »entry-title »><?php the_title(); ?></h1></div>
    <?php else : ?>
    <h1 class= »entry-title »>
    <div id= »hautg »><font color= »white »> » title= »<?php echo esc_attr( sprintf( __( ‘Permalink to %s’, ‘twentytwelve’ ), the_title_attribute( ‘echo=0’ ) ) ); ?> » class= »lienspecial » rel= »bookmark »><?php the_title(); ?></div></font>
    </h1>
    <?php endif; // is_single() ?>
    <?php if ( comments_open() ) : ?>
    <?php endif; // comments_open() ?>
    </header><!– .entry-header –>

    <?php if ( is_search() ) : // Only display Excerpts for Search ?>
    <div class= »entry-summary »>
    <?php the_excerpt(); ?>
    </div><!– .entry-summary –>
    <?php else : ?>
    <div class= »entry-content »>
    <?php the_content( __( ‘Continue reading <span class= »meta-nav »>→</span>’, ‘twentytwelve’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class= »page-links »>’ . __( ‘Pages:’, ‘twentytwelve’ ), ‘after’ => ‘</div>’ ) ); ?>
    </div><!– .entry-content –>
    <?php endif; ?>
    <footer class= »entry-meta »>
    <?php twentytwelve_entry_meta(); ?>
    <?php edit_post_link( __( ‘Edit’, ‘twentytwelve’ ), ‘<span class= »edit-link »>’, ‘</span>’ ); ?>
    <?php if ( is_singular() && get_the_author_meta( ‘description’ ) && is_multi_author() ) : // If a user has filled out their description and this is a multi-author blog, show a bio on their entries. ?>

    </div>
    </div><!– .author-link –>
    </div><!– .author-description –>
    </div><!– .author-info –>
    <?php endif; ?>
    </footer><!– .entry-meta –>
    <!– #post –>

    [u][b]Et mon css :[/b][/u]

    #content {
    background-color:#cbcbcb;
    margin-top: 35px;
    width: 878px;
    overflow: hidden;
    margin-right: auto;
    margin-left: auto;
    border-radius:5px;
    border:2px solid white;
    color: #000000;
    font-size: 11px;
    }

    #content[role= »main »] {
    border:none;
    }

    Je ne comprend pas mon problème, pouvez-vous m’aidez svp !

  • Avatar de Inconnu

    Bonjour. Vous avez un blogue autohébergé WordPress et vous n’êtes donc pas au bon endroit. Veuillez poser votre question sur les forums appropriés à : http://www.wordpress-fr.net/support/

    Vous vous trouvez actuellement dans les forums pour blogues hébergés par WordPress.com. Nos réponses ne seront donc pas pertinentes à votre situation. Merci et j’espère que vous trouverez bientôt réponse à votre question.

  • Le sujet ‘[WP.org] Problème, mon content ce répète à chaque article poster…’ est fermé aux nouvelles réponses.