Plugin Directory

Simple Post Template

Author: Clifton H. Griffin II

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.

Version History

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.

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(2 ratings)