I'm trying to get HTML tags to display correctly in my category names in the Categories sidebar widget. I can get the HTML tags to save in the database by using remove_filter( $filter, 'sanitize_text_field');
to my functions.php file. However, it displays the HTML tags along with the category name. So, for example, I have a category called the Cookies Project. So I put in <em>Cookies</em> Project
. But instead of reading the 'em' tags, it displays them in the name. Any ideas on how I can make the code recognize that it's HTML tags and not plain text?
↧
ribbitfrog on "HTML tags in Category Names (not descriptions)"
↧