Move custom functions from custom.php to template-tags.php