adding code to functions.php to support theme features
-
I recently asked a question in “fixing wordpress” that I should have asked here. My question was about setting different header images based on menu navigation.
I was introduced to the “featured image” capability and was offered some associated PHP code.
Coincidentally, I looked up documentation on the “post format” option.
In both cases, it seems that PHP code must be added to the functions.php module.
That makes perfect sense to me – but the echo of “don’t hack the core” – was resonating in my head as I considered how best to proceed.
I’d be interested on how modifications to the functions.php file are viewed – and if there is some specific guidance (the “codex” perhaps) on how to do so correctly.
- The topic ‘adding code to functions.php to support theme features’ is closed to new replies.