Adding a conditional to ensure functions.php is not loaded twice