WordPress PHP Code Widget WordPress Plugins

2012 年 11 月 10 日6100

The normal Text widget allows you to insert arbitrary Text and/or HTML code.

This allows that too, but also parses any inserted PHP code and executes it.

This makes it easier to migrate to a widget-based theme.

All PHP code must be enclosed in the standard tags for it to be

recognized.

WARNING: Upgrading to 2.0 from 1.2 may cause loss of your existing widgets.

Copy the code you have in them elsewhere first, then recreate your widgets

afterwards.

Want regular WordPress news and code updates? Become a fan of my sites on Facebook!

http://http://www.zjjv.com///pages/Nothing-to-See-Here/241409175928000

http://http://www.zjjv.com///ottopress

Or follow my sites on Twitter!

http://http://www.zjjv.com///ottodestruct

Tags: execphp, php, widget

0 0