Wordpress - How to display value of custom fields in page
Well, you are using:
get_post_meta(get_the_ID(), 'subtitle', TRUE);
So, you are saying to Wordpress to get the meta value of the 'subtitle' field and that the returned value be in format of string. See get_post_meta() docu.
To get all meta data of a post you should use get_post_custom() function instead. For example, if you are inside the loop:
$custom = get_post_custom();
foreach($custom as $key => $value) {
echo $key.': '.$value.'<br />';
}
This will return all meta data of the post. If you want to check, for example, the "price" meta field:
if(isset($custom['price'])) {
echo 'Price: '.$custom['price'][0];
}
use this code for solving your problem.
$key_name = get_post_custom_values($key = 'Key Name');
echo $key_name[0];