WordPress.org

Support

Support » Plugins and Hacks » [Plugin: List category posts] p tag in lcp_excerpt

[Plugin: List category posts] p tag in lcp_excerpt

  • 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?

Viewing 1 replies (of 1 total)
  • Plugin Author Fernando Briano

    @fernandobt

    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?

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: List category posts] p tag in lcp_excerpt’ is closed to new replies.