[Resolved] exerpt text no html

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support exerpt text no html

This topic contains 2 replies, has 2 voices, and was last updated by  Tom 1 month, 4 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9508

    sebastien
    Participant

    Hello,

    I’ve noticed in my Card Style 1 overlay that the exerpt text (only few words) breaks any style in the content.
    Is there anyway to retrieve the html tag that are into the post_content?

    #9511

    sebastien
    Participant

    Ok I was able to “Replace” the Expert Text by a full custom field.

    1) I’ve hook a custom field (code field) at wpsp_before_content
    2) I’ve name the div of the content if the field the same name as the div card style use to display Exerpt text: <div class="wp-show-posts-entry-summary"><p>my custom content</p></div>

    Then, I can display a full text different (from a custom field) into the wp-show-posts-entry-summary
    Such a pain, but I’m so happy now =)

    #9526

    Tom
    Keymaster

    If you want to do it without doing that, you can:

    1. Use the “More Tag”: https://docs.generatepress.com/article/using-the-more-tag/
    2. Set your list to output the full content instead of the excerpt.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.