=== Plugin Name === Contributors: clifgriffin Donate link: http://clifgriffin.com/donate/ Tags: post template, templates, post from template, posts Requires at least: 2.5.1 Tested up to: 3.3.1 Stable tag: 1.1.0.2 Extremely simple "new post template" plugin for WordPress. Use HTML and PHP to pre-fill (or manually fill) new posts with the default content of your choice. It's as easy as pie. == Description == Many bloggers use a similar format for many or all of their posts. WordPress provides no native way to pre-fill your new posts with default text/content. This plugin provides the simplest solution to this problem. It takes 5 minutes to install and setup. The template allows you to define a title, post body, and even an excerpt. It supports HTML and even PHP for dynamically generated content. There's no easier solution. I promise. **Donate?** If you use this plugin and find that it serves your needs well, please consider a donation. :) **Support** If you need support, I recommend you leave a comment on the appropriate post on my blog: http://clifgriffin.com/2008/10/28/simple-post-template-wordpress-plugin/ **Special Requests** If you need a customization or change specific to your install, I am available for hire. Shoot me an e-mail: clifgriffin[at]gmail.com = Version History = **Version 1.1.0.2:** * Fixes blank excerpt problem * Fixes deprecated options page syntax. * Sorry for taking so long to update this. **Version 1.1.0.1:** * Fixes problem with blank excerpts. **Version 1.1:** * You can now specify a default excerpt in your template (in case you wanted to) * Rewrote backend to use standard supported methods and less hacking. * Completely fixed issue with template content breaking "Insert Template" button. Contents is now encoded to HEX and decoded upon insert. * Removed upgrade option for legacy versions. I never received any feedback on this feature and suspect it was rarely used, if used at all. * Redesigned admin panel for aesthetic and informational purposes. Now includes PHP examples and considerations. **Version 1.0.0.1:** * Fixed security issue. Now only Administrators can access admin pages. **Version 1.0:** * Moved *all* settings to administration pages under Settings -> Simple Post Template. * Moved content of template and title to WordPress options. * Provided upgrade mechanism to convert old templates to the new format. (May not work for all applications. Some may work but may be more complex than neccessary.) * Added optional "Insert Template" button to new post page. You can now determine from the settings page whether or not the template will be automatically applied to all new posts. * Plugin is now upgrade proof. Settings are stored using Wordpress's setting functions. * Various other improvements were made to address inefficiencies in the first version. **Version 0.1:** * Original release. = Background = About a year ago, I hacked our organizational blog to include our shift report template and title format. Since hacks make upgrades difficult, I chose to move this functionality into an extensible plugin. == Installation == 1. Upload the directory "simple-post-template" to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress 1. Go to Settings -> Simple Post Template and enter your desired title, body and/or excerpt for new posts. (Feel free to use any combination of HTML and PHP.) 1. If you select "Auto fill new posts with this template." all new posts will be created with your template. If you uncheck this, the new posts screen will have a new sidebar widget with a button allowing you to apply the template. 1. There's nothing else to do. Enjoy! (unless you are upgrading, in which case, see below) == Frequently Asked Questions == = Can feature x be added? = Probably! E-mail me: clifgriffin[at]gmail.com = Can Simple Post Template specify default custom fields? = Not at this time. I recommend using Custom Field Template for this. It should be compatible with Simple Post Template, though I have not personally tested this. Link: http://wordpress.org/extend/plugins/custom-field-template/ == Screenshots == 1. The administration page under Settings -> Simple Post Template 2. The new post sidebar widget (only appears when auto fill is turned off)