Widget-enabled themes are a good thing, Martha Stew­art would prob­a­bly say — and right­fully so. Con­fig­ur­ing one’s side­bar directly via CMS and drag-and-drop is doubtlessly a nifty fea­ture we blog­gers don’t want to miss. To kick things up a notch, Word­Press allows for an infi­nite num­ber of dif­fer­ent Side­bars. This comes in very handy for putting dif­fer­ent side­bar con­tents on the blog home­page, the sin­gle post­ings and the sta­tic pages. But most blog­gers who start exper­i­ment­ing with mul­ti­ple side­bars expe­ri­ence a major draw-back: most plu­g­ins can only be used in one side­bar exclusively.

This means that if you have dif­fer­ent side­bars for your home­page and your sin­gle posts, you can­not for exam­ple include the tag cloud wid­get in both side­bars. (more info: How set up mul­ti­ple side­bars) But worry not, of course there is a very handy plug-in which solves this prob­lem: Dupli­cate Side­bar Wid­gets does what its name implies: it enables you to make up to 25 copies of any wid­gets, there­fore being able to use the same one in up to 25 side­bars. (You prob­a­bly won’t need that many, though.) btw: just in case any­thing goes badly wrong, you can always delete your widget-copies later. This solu­tion works for most wid­gets, but some com­plex scripts sim­ply refuse this treat­ment. (Top Com­men­ta­tors is one of those.)

But luck­ily, there’s Sam­sarin PHP Wid­get. While the stan­dard text-widget may only con­tain HTML but no php, the Sam­sarin Wid­get will gladly accept php input. So basi­cally the first step is to copy the php-widget using the afore­men­tioned Dupli­cate Wid­get Plu­gin, and in the sec­ond step you have to enter the desired php-function-call man­u­ally. This does not just sound like a bit of work and readme-digging, it actu­ally is — but using this method gives you total flex­i­bil­ity in design­ing your wid­getized sidebars.