Update functions.php

I attempted to add meta data to posts so it shows the date and category. I'm not used to working with child themes, so let me know if this is correct. Thanks.