add wp footer in template code