Adding Custom PHP to Your Child Theme

If you need to modify functionality, instead of appearance, you will often need to insert custom PHP in to your child theme. This code should almost always be placed in your Child Theme's functions.php file.

To learn more about modifying files, please read Editing Files on the WordPress.org documentation codex.