WordPress.org

Support

Support » Themes and Templates » How to modify the the_excerpt();

How to modify the the_excerpt();

  • Hi, I’m using <?php the_excerpt(); ?> to output the exerpt from certain blog posts that I categorize as ‘features’ on my website. However, <?php the_excerpt(); ?> adds tags to the exerpt – how do I control this formatting? Ideally I would like to just wrap a <div> around the exerpt and have styles on that control the appearance.

  • The topic ‘How to modify the the_excerpt();’ is closed to new replies.