WordPress.org

Ready to get started?Download WordPress

Forums

tag P in the excerpt (6 posts)

  1. francesca
    Member
    Posted 9 years ago #

    Hello there.
    If I use <?php the_excerpt(); ?>, the excerpt appears within the P tag.
    Where can I change this ? I need to change the tag.
    Thanx

  2. Kafkaesqui

    Posted 9 years ago #

    You could use the_excerpt_rss(). It provides an unformatted excerpt.

  3. francesca
    Member
    Posted 9 years ago #

    perfect, thanx :-)

  4. z
    Member
    Posted 9 years ago #

    Put in the event you wanted to use an IMG-tag inside the excerpt, you'd have to use the_excerpt instead of the_excerpt_rss. Any other suggestions to remove the P-tags?

  5. Kafkaesqui

    Posted 9 years ago #

    Then I'd suggest using my plugin:

    http://wiki.wordpress.org/the_excerptReloaded

  6. whooami
    Member
    Posted 7 years ago #

    Kafkaesqui,

    I know this thread is old, but I had to hop in here and thank you for this. I was really looking for a way to accomplish using the excerpt inside a link description, w/o having to modify the way the standard excerpt looks and works.

    You are a lifesaver. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags