Home Forums General Issues Text input tags being formatted " < and >


Text input tags being formatted " < and >

  • Hi, Apologies if this has been explained elsewhere or asked already. I am trying to add field data to the head of my header.php with with a simple text field but the data is getting auto formatted when placed in the head.

    Here’s an example of whats happening in the <head> tag:

    <meta name="description" content="Awesome Description Here">

    Is turned into:
    & lt;meta name="description" content="Awesome Description Here"& gt;

    I’m sure the answer is simple, but I’m not sure what to look for in the docs.

    The field code I am using to get the custom field data looks like this.

    the_field('newmetatags', 'product_brand_' . $term->term_id);

    Thanks in advance.

  • seriously any help with this would be appreciated.

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

The topic ‘Text input tags being formatted " < and >’ is closed to new replies.