Title: Adding PHP to the Sidebar
Last modified: August 18, 2016

---

# Adding PHP to the Sidebar

 *  [getgarnett](https://wordpress.org/support/users/getgarnett/)
 * (@getgarnett)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/adding-php-to-the-sidebar/)
 * Anyway I can do it? The sidebar reads everything in text but I need it to read
   PHP.
 * I went to go sidebar.php from my theme editor and it worked but it only adds 
   the information in the bottom of the sidebar, I can’t add it anywhere else in
   the sidebar.
 * Any help? Thank you.

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

 *  [4k](https://wordpress.org/support/users/4k/)
 * (@4k)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/adding-php-to-the-sidebar/#post-611611)
 * [Use Otto42’s execphp widget](http://ottodestruct.com/blog/2006/04/09/fun-with-widgets/)
 *  Thread Starter [getgarnett](https://wordpress.org/support/users/getgarnett/)
 * (@getgarnett)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/adding-php-to-the-sidebar/#post-611656)
 * Thanks that worked like a charm!

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

The topic ‘Adding PHP to the Sidebar’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [getgarnett](https://wordpress.org/support/users/getgarnett/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/adding-php-to-the-sidebar/#post-611656)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
