The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

List category posts
p tag in lcp_excerpt (2 posts)

  1. Jay Collier
    Posted 5 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. fernandobt
    Plugin Author

    Posted 5 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

  • List category posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic