WordPress.org

Support

Support » Themes and Templates » [Resolved] Problem with the_excerpt in my theme

[Resolved] Problem with the_excerpt in my theme

  • Well, everything used to work fine, but since this morning, the excerpts are not showing in a good way on my homepage.
    http://www.peopleinside.fr
    The excerpt for the first post is not correct, and then, it doesn’t show any excerpt on the other posts…

    Here is what I get from the_excerpt function:
    <p>&nbsp   &nbsp     L’Oréal dévoile son spot publicitaire avec Hugh Laurie  http://www.peopleinside.fr/loreal-devoile-son-spot-publicitaire-avec-hugh-laurie/news/19817Affaire DSK: l’audience du 1er août reportée au 23 août  http://www.peopleinside.fr/affaire-dsk-laudience-du-1er-aout-reportee-au-23-aout/news/19772Beauté: 3 adolescentes sur 4 font …</p>

    And here is the code used in my templates:

    <div class="<?php the_category_unlinked(); ?>">
    							<?php get_the_image(array('image_class' => 'thumb_image')); ?></span> <?php the_excerpt(); ?> <a href="<?php echo get_permalink(); ?>" rel="nofollow">Lire la suite [...]</a></div>

    Any idea ?

Viewing 1 replies (of 1 total)
  • Ok, no result, I’ve recoded my loop, same effect.
    So I used the_content, stripped unwanted things instead… It works now…

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Problem with the_excerpt in my theme’ is closed to new replies.
Skip to toolbar