WordPress.org

Ready to get started?Download WordPress

Forums

List category posts
p tag in lcp_excerpt (2 posts)

  1. Jay Collier
    Member
    Posted 3 years ago #

    In the lcp_content function, the text is not wrapped in a p tag.

    In lcp_excerpt, it is, which make is difficult to append text to the excerpt in a custom template.

    Could you normalize by removing the p wrap in lcp_excerpt in a future release?

  2. picandocodigo
    Member
    Plugin Author

    Posted 3 years ago #

    Hey jcollier. Looking at the code lcp_content returns this:
    return '<p>' . $lcp_content . '</p>';
    And the lcp_excerpt does this:
    return '<p>' . $lcp_excerpt . '</p>';

    I think I should remove both p tags. What do you think?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic