The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › get_post_meta() not working within a function › Re: get_post_meta() not working within a function
since you already used query_posts, you can also pass along array(‘tag’=>’tag-slug-name’)