Title: Using PHP code in the widgets
Last modified: August 19, 2016

---

# Using PHP code in the widgets

 *  [frih](https://wordpress.org/support/users/frih/)
 * (@frih)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/using-php-code-in-the-widgets/)
 * Hello,
 * Can i use PHP code in the sidebar widgets? I tried it but the code didn’t work.
 * Need help.

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

 *  [qetuo](https://wordpress.org/support/users/qetuo/)
 * (@qetuo)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/using-php-code-in-the-widgets/#post-1415120)
 * Here is a plugin that does what you need [http://wordpress.org/extend/plugins/php-code-widget/](http://wordpress.org/extend/plugins/php-code-widget/)
 *  Thread Starter [frih](https://wordpress.org/support/users/frih/)
 * (@frih)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/using-php-code-in-the-widgets/#post-1415123)
 * Thanks qetuo
    🙂

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

The topic ‘Using PHP code in the widgets’ is closed to new replies.

## Tags

 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [frih](https://wordpress.org/support/users/frih/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/using-php-code-in-the-widgets/#post-1415123)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
