I'm new to PHP and WordPress.
I've created a site on WordPress, where the user can add an HTML code snippet (the inputs are taken using a metabox and displayed). The problem is WordPress doesn't render the input's value, rather it converts it to ASCII and displays the HTML code snippet as raw HTML rather than rendering it.
Is there any solution for this? In certain parts of the template I would like to display the rendered HTML, and also the escaped (raw) HTML.
Please note that I am using a custom metabox in a custom post type. I generated the metabox using this generator.