Title: creating a function-php
Last modified: August 20, 2016

---

# creating a function-php

 *  [apolyram](https://wordpress.org/support/users/apolyram/)
 * (@apolyram)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/)
 * I’m new at this and I need to create a new function.php but I can’t find where
   to start. No “add new” or “save as”. I went to Appearances>Editor but there is
   no where to create a new function.php? I have the content of what I need to put
   in but Where do I start?

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/creating-a-function-php/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/creating-a-function-php/page/2/?output_format=md)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/#post-3142280)
 * Is this for a child theme?
 *  Thread Starter [apolyram](https://wordpress.org/support/users/apolyram/)
 * (@apolyram)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/#post-3142312)
 * 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
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/#post-3142327)
 * If your (child) theme hasn’t got a functions.php you can create it with a text
   editor and upload it by using [FTP](http://codex.wordpress.org/FTP_Clients).
 * 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://wordpress.org/extend/plugins/pluginception/](http://wordpress.org/extend/plugins/pluginception/)
 * [http://codex.wordpress.org/Functions_File_Explained](http://codex.wordpress.org/Functions_File_Explained)
 *  Thread Starter [apolyram](https://wordpress.org/support/users/apolyram/)
 * (@apolyram)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/#post-3142332)
 * Text editor? Like Word?
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/#post-3142338)
 * Do the editing with an acceptable text editor (not Word):
    [http://codex.wordpress.org/Editing_Files#Using_Text_Editors](http://codex.wordpress.org/Editing_Files#Using_Text_Editors)
   free for Windows: [Notepad++ ](http://notepad-plus-plus.org/) free for Mac: [TextWrangler](http://www.barebones.com/products/TextWrangler/)
 *  Thread Starter [apolyram](https://wordpress.org/support/users/apolyram/)
 * (@apolyram)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/#post-3142339)
 * OK. thanks. As you can see I’m really new at this.
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/#post-3142340)
 * No problem. What is it exactly you want to do (in functions.php)?
 *  Thread Starter [apolyram](https://wordpress.org/support/users/apolyram/)
 * (@apolyram)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/#post-3142342)
 * I want to add widgets to the footer
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/#post-3142343)
 * Have you ever used an [FTP client](http://codex.wordpress.org/FTP_Clients) or
   the file management application your host provides (cPanel)?
 *  Thread Starter [apolyram](https://wordpress.org/support/users/apolyram/)
 * (@apolyram)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/#post-3142344)
 * 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?
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/#post-3142347)
 * > 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?
 *  Thread Starter [apolyram](https://wordpress.org/support/users/apolyram/)
 * (@apolyram)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/#post-3142348)
 * I’m using the Responsive Theme
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/#post-3142350)
 * That heme has a functions.php. If you are using a [child theme](http://codex.wordpress.org/Child_Themes)
   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
       ?>
       ```
   
 *  Thread Starter [apolyram](https://wordpress.org/support/users/apolyram/)
 * (@apolyram)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/#post-3142355)
 * OK thanks. Now at least I’ve learned both things.
 *  [Andrew Bartel](https://wordpress.org/support/users/andrew-bartel/)
 * (@andrew-bartel)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/#post-3142356)
 * Check out notepad++ for editing as keesie suggested, it’ll be a whole lot easier
   than regular notepad.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/creating-a-function-php/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/creating-a-function-php/page/2/?output_format=md)

The topic ‘creating a function-php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 16 replies
 * 4 participants
 * Last reply from: [apolyram](https://wordpress.org/support/users/apolyram/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/creating-a-function-php/page/2/#post-3142359)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
