I’m attempting to add a custom field (a subtitle) to the content.php file in my child theme.
I used:
<?php get_post_meta(the_ID(), 'custom_subtitle', true); ?>Which displayed on my page the ID of the post, not the content of ‘custom_subtitle’. I am confused why this doesn’t display the ‘custom_subtitle’ content value. Any thoughts?