Update functions.php

Adding is_blog method