I need a 101 lesson please for php

I have some php code for custom image sizes.Where do I insert this please. I can only find a place for custom CSS. I want to insert the custom image size code

Hello michaelahanti,

It all depends on where you want the PHP code to take effect.
You can put it in the Child theme’s own functions.php file or within any page designed with Bricks using the ‘Code’ element

Kind regards

but how do I put it in the Child theme’s own functions.php file? as it’s for custom image sizes, I presume site wide. If I put it in the code element it only affects that page, yes?

With the Code element it only affects the page, if you want it to affect the entire site you must put it in functions.php or create a plugin that includes those files in PHP. The latter is a little more complex to do.

You can also put the Code element in the header or footer template and it will run throughout the website.