Removed get_post_custom with get_post_meta
Fixed indentation