By default get_post_meta() returns an array. Set the last parameter to true to return the value of the meta data.
See the codex as a reference >
Your code should be:
$font_awesome_icon = get_post_meta(get_the_ID(), 'font-awesome-icon', true);
By default get_post_meta() returns an array. Set the last parameter to true to return the value of the meta data.
See the codex as a reference >
Your code should be:
$font_awesome_icon = get_post_meta(get_the_ID(), 'font-awesome-icon', true);