owen

I’ve upgraded EzStatic to fix a problem with the WordPress 1.5 Default template, and also to add PHP code execution to PHP embedded in posts/pages.

The new version (1.9) will execute PHP if you write it directly into the post editing box. You need to surround the code with the usual php tags. You can have several code sections in a single post.

To activate the code, you must check the checkbox that will appear (when EzStatic is activated as a plugin) underneath the post content editing box.

The code is more secure than other solutions because it will only execute the code if the author of the post is of a minimum user level. By default this is level 8, but you can change it easily in code.

You can use PHP code on either posts or “static” pages in WordPress 1.5.

EzStatic retains its ability to embed external static files that are specified in the querystring.

Check out the download on my hacks page, and the documentation in the wiki.

This version is only tested on WP 1.5. It may work on 1.2, but I make no guarantees. Try an older version of EzStatic if you’re using WP 1.2.