In my theme folder i have a sub folder.
Inside that folder is a php file that i want to access get_post_meta for example.
when i try and access the functions i get this error
Fatal error: Call to undefined function add_post_meta() in /home/theme.../myfolder/voting.php on line 23
what do i need to include in the voting.php to allow this php file to access the wordpress functions.