HTML in widget Title?

Home Forums Calendar Products Events Calendar PRO HTML in widget Title?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31542
    Gabriel
    Participant

    I want to to add html to the title in the advanced widget. Looks like I need to hack it, but I want to make sure I’m not missing something first.

    #31547
    Barry
    Member

    The widget title is filtered by esc_html() so yeah, you’d probably need to selectively remove that filter either for all widget titles or just this one.

    While this blog post doesn’t relate specifically to your question it does show how you can inspect and change the parameters being sent to a widget. In that fashion, you could remove esc_html() from the widget_title filter only for this one widget, leaving all others unaffected.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘HTML in widget Title?’ is closed to new replies.