Its a good guide but where in the functions.php file should I add this code?
I have tried to add it to the beginning at line 1 and down to line 7 (did not work) I have also tried to add it to the end in the last line which did not work either.
Nothing of this worked, so where exactly in functions.php should I add this?