Title: Using php includes in text widgets
Last modified: August 19, 2016

---

# Using php includes in text widgets

 *  [lusciousdelight](https://wordpress.org/support/users/lusciousdelight/)
 * (@lusciousdelight)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/using-php-includes-in-text-widgets/)
 * Is there any way to use php include statements using widgets? I am trying to 
   use a text widget with a php statement with no lock

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/using-php-includes-in-text-widgets/#post-670251)
 * Consider downloading and installing [Otto’s execphp widget](http://ottodestruct.com/blog/2006/04/09/fun-with-widgets/).
 * Please remember to support our plugin authors by clicking on the Donate button
   there.
 *  [yakuphan](https://wordpress.org/support/users/yakuphan/)
 * (@yakuphan)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/using-php-includes-in-text-widgets/#post-670355)
 * I use [Daikos text widget](http://www.daikos.net/widgets/daikos-text-widget/).
 *  Thread Starter [lusciousdelight](https://wordpress.org/support/users/lusciousdelight/)
 * (@lusciousdelight)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/using-php-includes-in-text-widgets/#post-670397)
 * Thanks, I tried the two above and another I found, but still can’t seem to get
   it to work. I’m using php code from a database script “dragonlinks”…could be 
   the script.

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

The topic ‘Using php includes in text widgets’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [text](https://wordpress.org/support/topic-tag/text/)
 * [widgets](https://wordpress.org/support/topic-tag/widgets/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [lusciousdelight](https://wordpress.org/support/users/lusciousdelight/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/using-php-includes-in-text-widgets/#post-670397)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
