=raw excerpt not displaying HTML

Home Forums Calendar Products Events Calendar PRO =raw excerpt not displaying HTML

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #220073
    Kynan Chambers
    Participant

    Hi!

    In the tooltips, my html is not coming through. The output on the frontend is completely stripped of the html I need. It is in the event description in the excerpt field (the html I need is jut a <br>) and I’ve checked the tooltips.php file and narrowed it down to this:
    —-
    [[ if(excerpt.length) { ]]
    <p class=”entry-summary description”>[[=raw excerpt]]</p>
    [[ } ]]

    #223176
    Casey
    Participant

    fluxar,
    Thanks for getting in touch, and hopefully I can help you out here. By default, the tooltips for the Calendar use the_excerpt() function in WordPress to display a preview of the event description. This function strips all HTML by default, so you’ll need to customize this functionality to allow the BR tag.

    Using a quick Google Search, I found this blog post which talks about allowing different HTML tags in your excerpts. Hopefully that points you in the right direction.

    Thanks! 🙂

    -Casey-

    #465989
    Casey
    Participant

    I just wanted to follow up and see if you’re all set here or if you still have further questions. Just let me know if you have further questions or if I should go ahead and close out this thread. Thanks! 🙂

    -Casey-

    #666760
    Casey
    Participant

    Since I haven’t heard back from you here, I’m going to go ahead and close out this thread. Feel free to start a new thread if you have further issues. Thanks! 🙂

    -Casey-

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘=raw excerpt not displaying HTML’ is closed to new replies.