Title: Custom code in theme controlled in admin
Last modified: August 19, 2016

---

# Custom code in theme controlled in admin

 *  [cfbauer](https://wordpress.org/support/users/cfbauer/)
 * (@cfbauer)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/custom-code-in-theme-controlled-in-admin/)
 * Hi, thanks for reading.
 * I’m struggling with something that luckily can be easily explained.
 * I want to put some code into my theme that can be changed somewhere in the admin
   panel by an end user.
 * Specifically, I have a YouTube video hard coded into header.php that I want the
   client to be able to change.
 * Thanks in advance for any suggestions! I’m here for clarifications if necessary.
 * -Chris

The topic ‘Custom code in theme controlled in admin’ is closed to new replies.

## Tags

 * [header.php](https://wordpress.org/support/topic-tag/header-php/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [Youtube](https://wordpress.org/support/topic-tag/youtube/)

 * 0 replies
 * 1 participant
 * Last reply from: [cfbauer](https://wordpress.org/support/users/cfbauer/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/custom-code-in-theme-controlled-in-admin/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
