Title: tweaks.php, etc
Last modified: August 20, 2016

---

# tweaks.php, etc

 *  [almcr](https://wordpress.org/support/users/almcr/)
 * (@almcr)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/tweaksphp-etc/)
 * in the new starter _s theme from automattic (for example), does the code in a
   file like tweaks.php or functions.php only run once when you go to the theme?
   or does it run through this code every time you go to a new page or post??
 * trying to figure out how they do the multi-column layout design in the Able theme(
   I downloaded the theme code from wordpress.com) because a class is set depending
   on the number of sidebar widgets there are and there is also a full-width page
   template.
 * Al

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/tweaksphp-etc/#post-3194233)
 * There’s no “one size fits all” answer to this. It depends upon the functions 
   that are in these files. Some may be called on every page, some may only run 
   under specific situations.
 *  Thread Starter [almcr](https://wordpress.org/support/users/almcr/)
 * (@almcr)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/tweaksphp-etc/#post-3194239)
 * ok interesting, where can I read some documentation on this??
 * Al
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/tweaksphp-etc/#post-3194246)
 * Again, because this is so very theme specific, you’re not going to find any specific
   documentation unless the theme developer has chosen to publish this level of 
   documentation (highly unlikely). You could try looking through the scripts themselves
   to see if they contain any useful comments.
 * You also might want to have a look at the [action reference](http://codex.wordpress.org/Plugin_API/Action_Reference)&
   [filter reference](http://codex.wordpress.org/Plugin_API/Filter_Reference) documentation.
   I think those two would cover all of the scenarios where a function **isn’t**
   being called manually.
 * HTH

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

The topic ‘tweaks.php, etc’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/tweaksphp-etc/#post-3194246)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
