Please set me straight about what functions.php does
-
Hi. Longtime WP user here. Yes I have read the Codex about what functions.php is. Can someone answer a question and give me a better clue about what this does?
I’ve had a slightly customized Kubrick (default theme) on one of my blogs for years. When I first got this theme (WP 1.5.3??), it didn’t have a functions.php. Recently I noticed that newer versions of the default theme includes a file called functions.php.
So I grabbed the functions.php from a new WP 2.6 and added it to my old theme folder.
I looked in Kubrick’s functions.php and it is full of very much code!! What does all this code do? It did not change the way my site looks at all, that I can see.
Should I remove it? Should I empty out all the kubrick stuff (that didn’t change anything anyway), and just have an empty functions.php?
How (or why) would I add something to functions.php myself?
- The topic ‘Please set me straight about what functions.php does’ is closed to new replies.