EzStatic Plugin
-
I know there are a bunch of static-making plugins out there, but I thought I would toss this out as an easy (if inefficient) way to implement static pages.
Get a copy of EzStatic.php and put it in your plugins directory. Activate it.
Put a file in your web root (same directory as index.php). It can be html or php. Take the base name of the file (for “test.php” use “test”) and incorporate it into a URL like so:
http://www.example.com/index.php?static=test
The plugin will find your file, execute it, and embed it into your WP template. If your file was a php file, you can even use WP functions inside it.
No messy file editing or deleting, just activate the plugin. Another proof of concept plugin from yours truly. Enjoy!
The topic ‘EzStatic Plugin’ is closed to new replies.