• Resolved verrix

    (@verrix)


    Hi, I’m trying to add html tags like <p> and <h5> to the description of the donation (legacy editor). I need to add them as otherwise there’s no way for me to customize the text.

    Is there a way to avoid the stripping of the html tags?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WPCharitable

    (@wpcharitable)

    @verrix

    Thanks for reaching out – yes this can be disabled via a filter. Here’s the code snippet which you can copy and paste into your functions.php of your active theme: https://library.wpcode.com/snippet/e5wmmnpo/

    This allows you to add HTML in the description fields of legacy campaigns in the admin.

    Let me know if you have any further questions.

    Thread Starter verrix

    (@verrix)

    Thanks, that fixed it!!

    Plugin Author WPCharitable

    (@wpcharitable)

    @verrix Glad we could help. Just a note that the stripping of HTML is done on purpose for security reasons. The filter allows you to override it if you so choose. Thanks for using Charitable and have a good day! 🙂

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

The topic ‘HTML tags get stripped’ is closed to new replies.