Title: Custom functions.php
Last modified: August 19, 2016

---

# Custom functions.php

 *  Resolved [uxte](https://wordpress.org/support/users/uxte/)
 * (@uxte)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/custom-functionsphp/)
 * I write all my custom functions inside wp-includes/functions.php and I was wondering
   if there is a way of including a custom functions.php from another directory 
   in the same way you add a javascript file in the header?
 * The idea is to have my custom functions separated from the predefined WP functions.
 * Thanks

Viewing 1 replies (of 1 total)

 *  Thread Starter [uxte](https://wordpress.org/support/users/uxte/)
 * (@uxte)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/custom-functionsphp/#post-1109140)
 * This was a dumb question…
 * Just add the custom functions to a functions.php file inside your theme directory.
   WordPress automatically includes this file.

Viewing 1 replies (of 1 total)

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

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [functions](https://wordpress.org/support/topic-tag/functions/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [uxte](https://wordpress.org/support/users/uxte/)
 * Last activity: [16 years, 12 months ago](https://wordpress.org/support/topic/custom-functionsphp/#post-1109140)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
