Update functions.php

add meta data to posts