Update functions.php

Add post tumbnail support and add format blog-post for make more stylish and predefined blog entries