Title: functions.php?
Last modified: August 18, 2016

---

# functions.php?

 *  [g3rg](https://wordpress.org/support/users/g3rg/)
 * (@g3rg)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/functionsphp/)
 * Hi, sorry if this is a dumb question or has been covered before, but I can’t 
   seem to find it.
 * I have seen passing mention of the ability in 2.0 to include a functions.php 
   file that includes all the plugins for a theme, but I can’t find any documentation
   about exactly how it is done. Can someone explain how to me how to create this
   file, or point me in the right direction?
 * Thanks in advance.
 * ps – 2.0 is great!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/functionsphp/#post-311128)
 * I have no idea how it works 🙂 but the default theme has a file like that. You
   might be able to see what it has in it.
 *  Thread Starter [g3rg](https://wordpress.org/support/users/g3rg/)
 * (@g3rg)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/functionsphp/#post-311130)
 * thanks, i had thought of that but forgot to poke around. i’m pretty excited by
   the possibility… not that i use a ton of plugins in my theme, but just enough
   that it kind of makes it not so special when i strip it of plugins for distribution.
 * if anyone else knows more about this, i’d love to hear it. for the time being,
   i’m going to see if it works to just more or less copy and paste all my plugin
   code into a functions.php file. i’ll let you all know if it works.
 *  [Austin Matzko](https://wordpress.org/support/users/filosofo/)
 * (@filosofo)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/functionsphp/#post-311137)
 * It’s pretty simple. For the active theme, WP 2.0 reads in the functions.php file
   just like it would an activated plugin: all the code, functions, etc. are acted
   on. Pretty handy, I think, especially when it comes to custom rewrite rules.
 *  [evaneco](https://wordpress.org/support/users/evaneco/)
 * (@evaneco)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/functionsphp/#post-311687)
 * Does this mean that all of my changes to the other .php codes are over-ridden
   by the functions.php file? Can I just remove/rename this file and go with the
   defaults I set up elsewhere?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘functions.php?’ is closed to new replies.

 * 4 replies
 * 4 participants
 * Last reply from: [evaneco](https://wordpress.org/support/users/evaneco/)
 * Last activity: [19 years, 11 months ago](https://wordpress.org/support/topic/functionsphp/#post-311687)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
