Using Custom Field Data in Header

For example, if a page has a custom field “Metadescription”, this can  be used in the head to show a custom description meta tag:


">

Within the loop inside change $post->ID to get_the_id()

Leave a Comment