Title: Executing PHP in Sidebar
Last modified: August 19, 2016

---

# Executing PHP in Sidebar

 *  [jbottero](https://wordpress.org/support/users/jbottero/)
 * (@jbottero)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/executing-php-in-sidebar/)
 * I’ve been using Text Link Ads on my site. When I transitioned it to WordPress,
   I tried to install the Text Link Ads Plugin Widget, but it does not function,
   and their “technical contact” isn’t any help.
 * But…
 * I do have the PHP code from my previous non-WordPress design that works just 
   fine.
 * Is there a way to add a block of executable PHP code and manage its placement
   via the Sidebar Widget Manager?

Viewing 1 replies (of 1 total)

 *  [Sridhar Katakam](https://wordpress.org/support/users/srikat/)
 * (@srikat)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/executing-php-in-sidebar/#post-692384)
 * [http://ottodestruct.com/blog/2006/04/09/fun-with-widgets/](http://ottodestruct.com/blog/2006/04/09/fun-with-widgets/)
 * > The next one is also like the Text plugin, however it will also let you put
   > PHP code into the text and have it actually work. Here’s the download: execphp.
   > zip. Like the Text plugin, you can have up to 9 of them (more if you want to
   > tweak the code). Note that any PHP code you put into the widget MUST be surrounded
   > by <?php and ?> tags, just like writing PHP normally. Also note that this is
   > isn’t exactly safe, as it’s just doing an eval() on whatever you put in there,
   > so you have complete and full access, as does anybody else who can get to your
   > admin screen. Still, it’s very useful.

Viewing 1 replies (of 1 total)

The topic ‘Executing PHP in Sidebar’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Sridhar Katakam](https://wordpress.org/support/users/srikat/)
 * Last activity: [18 years, 4 months ago](https://wordpress.org/support/topic/executing-php-in-sidebar/#post-692384)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
