Reply To: Display custom field in Post's content

#20920
Daniel Tara
Keymaster

The best way to do this is to create a shortcode that displays that custom field. This way you can control where the field appears in the content. See the Shortcode API documentation.

If you don’t want to use a shortcode then you can use 'the_content' filter to append the field to the post content.