How to create child theme ? (different versions)


#1

Hi, I just installed the Alizee Pro theme. I am going to create the child theme but I have seen different versions of how to do that. Could someone tell me which one of these two instructions is the correct one ?

https://codex.wordpress.org/Child_Themes

Thanks,
Marc


#2

Hi Marc,

The tutorials from both of the link are correct, you can choose which one you want to follow. The tutorial from the first link is simple version and the second one is detail version.

But for me, I prefer to follow the tutorial from wordpress codex (second link)


#3

Ok but the problem with that second link is that it is not clear what exaclty one should put in functions.php. Is it the code in the first grey block (add_action …) or the second one under that ? There is some overlap between these two so it makes it a bit confusing.


#4

I tried again and this is solved now.