• Resolved Ramzii

    (@ramzii)


    I have this code in my php:

    <p><?php esc_attr_e('MAAK KENNIS MET DE KENNIS EN <strong>PASSIE</strong>','Tali') ?></p>

    The translation shows the strong tags correctly in the back-end. But it does not parse it on the front-end. It just show the tags. Not making use of the HTML.

    Can this be done? Or am I approaching this in the wrong way? Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tim W

    (@timwhitlock)

    Use the _e function instead of esc_attr_e.

    I’m marking as resolved, because your question is unrelated to my plugin. If you have any coding problems, please ask for help on a general WordPress forum.

    Thread Starter Ramzii

    (@ramzii)

    Thanks Tim!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to use html in the translation field’ is closed to new replies.