Is this for a child theme?
Yes. I’ve got the content of the code that should be written in there but I don’t know where to get started. Where do I go to create the function.php? I don’t see anything in my Dashboard
If your (child) theme hasn’t got a functions.php you can create it with a text editor and upload it by using FTP.
As the functions.php file behaves as a plugin file you could also create a plugin with this plugin and put the code in there: http://ww.wp.xz.cn/extend/plugins/pluginception/
http://codex.ww.wp.xz.cn/Functions_File_Explained
Do the editing with an acceptable text editor (not Word):
http://codex.ww.wp.xz.cn/Editing_Files#Using_Text_Editors
free for Windows: Notepad++
free for Mac: TextWrangler
OK. thanks. As you can see I’m really new at this.
No problem. What is it exactly you want to do (in functions.php)?
I want to add widgets to the footer
Have you ever used an FTP client or the file management application your host provides (cPanel)?
I set up a free account with Filezilla, but I haven’t really used it yet except to copy over some of the .php’s from the main Theme, the ones I wanted to change. I basically dragged them over from my desktop (I had a copy of the main theme on my desktop)to the wp-content folder. So I’m guessing that if I create a functions.php in Notepad I’ll do the same thing? Is that right?
So I’m guessing that if I create a functions.php in Notepad I’ll do the same thing? Is that right?
that’s right, copy it to your theme folder. Make sure your functions.php start and end with php tags:
<?php
// your code
?>
What theme are you using?
I’m using the Responsive Theme
That heme has a functions.php. If you are using a child theme create and upload (FTP) a new functions.php to your child theme’s directory with only the footer widgets code in it inside php tags:
<?php
// your widgets code
?>
OK thanks. Now at least I’ve learned both things.
Check out notepad++ for editing as keesie suggested, it’ll be a whole lot easier than regular notepad.