WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Problem with the_excerpt in my theme (2 posts)

  1. nicosFR
    Member
    Posted 3 years ago #

    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 ?

  2. nicosFR
    Member
    Posted 3 years ago #

    Ok, no result, I've recoded my loop, same effect.
    So I used the_content, stripped unwanted things instead... It works now...

Topic Closed

This topic has been closed to new replies.

About this Topic