Wordpress Functions.php


#1

I’m uploading a new custom theme to wordpress and this is on my functions.php page. I’m newish to PHP and so I dont know what to do.
Below is my code.

<?php if ( ! function_exists( 'Ampersand Oils_setup' ) ) : function Ampersand Oils_setup() { and this is the error message I'm getting FATAL ERROR syntax error, unexpected 'Oils_setup' (T_STRING), expecting '(' on line number 4 Am I missing something? Any help would be great. THanks!

#2

You can’t have spaces in function names. That simple of an issue.