Quick Question Regarding Child Theme – Function.php
-
Firs of all I’m a small fry newbie.
First of all im working with a child theme.I am using CS6 Dreamweaver to edit my “functin.php” file
Once I find the scripts in the forum that I need, I copy and paste it in the the “functions.php” file I created.
I then “filezilla – ftp” the file to my Child Themes folder.
I then go back an check that the code is good and move on.
Here’s my challenge…Not knowing if the parent theme, function.php sucks the child them function.php script code.
So, when I find another php script/code, do I add (Merge) it to the existing function.php
i.e.
<?php Fitst Code ?>
then add this
<?php DO I ADD THE SECOND CODE HERE?>Or do I add the new code between.
i.e.
<?
first code
}
second code
}
?>
Do create a new function.php, ftp to child theme and overwrite the existing functions.php?
Sometime i notice that after i entered the cod and checked it ut ok, and i add another the previous code/tweak is gone.Sorry for the deum question.
Deird
- The topic ‘Quick Question Regarding Child Theme – Function.php’ is closed to new replies.