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

---

# functions.php

 *  [longwing1](https://wordpress.org/support/users/longwing1/)
 * (@longwing1)
 * [18 years ago](https://wordpress.org/support/topic/functionsphp-1/)
 * I use the blog.txt theme. I notice that the entire contents of function.php is
   enclosed in <php?> tags. Does functions.php have to be loaded and processed in
   it’s entirety each time a page is loaded? Is it worth the effort to gut it of
   unused code? I’ve pretty much got my page complete and I could get rid of a lot
   of code for the unused sidebar widgets. I’ve already gotten rid of all the theme
   options code, which was kind of an interesting project, btw.
 * Thanks.

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

 *  [Cathy Mitchell](https://wordpress.org/support/users/multitalentedmommy/)
 * (@multitalentedmommy)
 * [18 years ago](https://wordpress.org/support/topic/functionsphp-1/#post-784265)
 * sounds like you enjoy the journey, so I would check the classic theme’s function
   folder, look through to find the things that you might want to keep. And then
   compare to your current theme, and delete away! Worst case scenario you upload
   a new functions.php from your theme’s BACKUP copy. 🙂
 *  Thread Starter [longwing1](https://wordpress.org/support/users/longwing1/)
 * (@longwing1)
 * [18 years ago](https://wordpress.org/support/topic/functionsphp-1/#post-784271)
 * MTM, I’ve got so many backups now I’m starting to get confused. I’m not very 
   good at this, so I’ve broken my site about a hundred times, but I’ve always managed
   to get it fixed – so far.
 * There is still a lot of stuff in the style sheet that I don’t know what it is.
   But I’m slowly figuring it out. I’ll gut it as I can. My biggest concern is that
   once it’s all stripped down I’ll become feature crazed. That would be unfortunate.
 *  [Cathy Mitchell](https://wordpress.org/support/users/multitalentedmommy/)
 * (@multitalentedmommy)
 * [18 years ago](https://wordpress.org/support/topic/functionsphp-1/#post-784279)
 * lol been there done that! 🙂 Now I’ve got so many hours of learnin’ under my 
   belt I think I’ll start designing for $$$. 🙂 I got a lot of good things from
   [this tut.](http://www.w3schools.com/css/default.asp)
 *  [Cathy Mitchell](https://wordpress.org/support/users/multitalentedmommy/)
 * (@multitalentedmommy)
 * [18 years ago](https://wordpress.org/support/topic/functionsphp-1/#post-784281)
 * Oh – and just guessing here – but wouldn’t the functions.php be called only when
   a function is called? In the sidebar.php the functions are nearly always called–
   so yup. I guess you’re right. It is called all the time. 🙂

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

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

 * 4 replies
 * 2 participants
 * Last reply from: [Cathy Mitchell](https://wordpress.org/support/users/multitalentedmommy/)
 * Last activity: [18 years ago](https://wordpress.org/support/topic/functionsphp-1/#post-784281)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
