How To Add PHP To WordPress Widgets
Everton | May 17, 2008 | Comments
One of the reasons I managed to setup my new WordPress theme so quickly was because I used WordPress widgets for the first time. I’d always assumed in the past that you would lose control by using widgets as they were aimed at ‘basic’ users, but I couldn’t have been more wrong as widgets allowed me to quickly build the new site up one widget at a time.
One drawback with WordPress widgets is that you can’t add PHP code inline to them, which meant that I couldn’t add plugins or call WordPress functions within widgets. That was until I discovered the Samsarin PHP Widget WordPress plugin that allows you to create new widgets that can include PHP code.
Once installed new Samsarin PHP Widgets can be created just like other widgets. Up to 25 PHP widgets can be created which should be enough for all bloggers.
More: Samsarin PHP Widget Plugin
Read Related Posts
Filed Under: Blogging
About the Author: Everton is based in London and has worked in the internet and mobile space for over ten years now, and before that worked in corporate strategy and consulting. He has a degree in Economics from Cambridge University.He also writes for Windows 7 News, Windows 8 News and One Tip A Day.
- Zath
- logo design blog
- Phashtibscieks
- Pavel
- jackie
- markez linda
- samael
- Glenn
Transform Web Widgets For your Desktop



