Update functions.php

add jetpack infinite support