I am using the following code to set an image to be displayed. With a meta tag that is name after a variable. Problem is it does not pick up the variable value when I add it to the get post meta.
$attachment_id2 = get_post_meta ($post->ID, 'special_feature_'.$special_feature1, $single = true);}
Any Idea on how to make sure the variable is added to the meta value.