All of the code snippets should go into your child themes functions.php
file, unless stated otherwise. Also use style.css
to extend the styling and images
folder, in case you want to add some structural images to enhance the website design.
Where is functions.php
file located?
File is located inside your child themes root folder, full path to it should go like this:
wp-content / themes / your-child-theme / functions.php
. If you don’t see the file inside your child themes folder, your child theme will not work and you need to create the file manually.