Kuvaus
This plugin makes it simple to create content templates for your posts and pages. When creating a new post or page use one of your content templates as the starting point. Simple Content Templates allows you to define a title, post body, and even an excerpt.
How Simple Content Templates Works
- Install and activate the plugin.
- You should have a new menu item in your admin dashboard ”Content Templates”
- Use the ”Add a Template” button to create a template. Add the title and content you want to be able to start with when creating blog posts or pages. Go ahead and publish the template.
- When creating a new post or page, in the sidebar you should see the option to ”Load a Content Template.” Select the template you want to use and click the ”Load Template” button.
- After the page refreshes, edit the post or page however you want and publish it like normal.
- …next time you need to write a similar post or create a similar page, do it all over again!
Unlock More Features
- Custom Post Types
- Custom Fields
- Tags
- Categories
- Featured Images:
If you need any of these, you should check out the pro version of this plugin, Advanced Content Templates: Advanced Content Templates
We hope you enjoy creating with Simple Content Templates!
Kuvankaappaukset
Asennus
- Upload the directory ”simple-post-template” to the
/wp-content/plugins/
directory - Ota lisäosa käyttöön WordPress hallintapaneelin Lisäosat kohdassa
- Find ”Content Templates” in menu on left.
- Add as many templates as you wish.
- Configure settings and select a default template for auto-fill, if desired.
UKK
-
Does Simple Content Templates support multiple templates?
-
As of version 2.0, yes! You can add as many content templates as you would like to! Simply select the one you want to use from the sidebar in the post edit page and click ”Load Template.”
-
Does Simple Content Templates work with pages or is it just posts?
-
While the primary use case is for people creating lots of blog posts with similar content, there is a setting to toggle on the Simple Content Template functionality for pages as well.
-
Can it work with custom post types?
-
For custom post type support and much more, please check out Advanced Content Templates
-
Can feature x be added?
-
At this point, Simple Content Templates is feature complete. You can get extra features by buying our pro plugin: Advanced Content Templates
-
Can Simple Content Template specify default custom fields and their values?
-
For custom fields and much more, check out Advanced Content Templates
Arvostelut
Avustajat & Kehittäjät
“Simple Content Templates for Blog Posts & Pages” perustuu avoimeen lähdekoodiin. Seuraavat henkilöt ovat osallistuneet tämän lisäosan kehittämiseen.
AvustajatKäännä “Simple Content Templates for Blog Posts & Pages” omalle kielellesi.
Oletko kiinnostunut kehitystyöstä?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Muutosloki
Version 2.2.5
- Bump version
- Missed on small fix I wanted to make earlier, tweak applied
Version 2.2.4
- Bump version
Version 2.2.3
- Update tested to version.
- Fix php notice in logs.
- Upgrade dependencies.
- Clean a few things up.
Version 2.2.2
- Update tested to version.
- Various small code tweaks.
Version 2.2.1
- Update tested to version.
Version 2.2.0
- Update the metabox and ”load a template” flow
- Update tested to version.
- Clean up the readme and make it a bit clearer what all Simple Content Templates is and does
- Fix a few spelling mistakes
Version 2.1.9
- Update tested to version.
- Update vendor assets.
Version 2.1.8
- Fixes a fatal error… oops.
Version 2.1.7
- Prevent conflict resulting in fatal error.
Version 2.1.6
- Check that the old version table exists before attempting upgrades.
Version 2.1.5
- A couple of tweaks. No functional changes or bug fixes.
Version 2.1.4
- Fix fatal errors. We finally replicated the fatal error in our dev environment and fixed the root cause. We are very sorry about the problems we caused!
Version 2.1.3
- Re-factor activation routine to reduce chance of fatal errors.
Version 2.1.2
- Fix comment support for templates.
Version 2.1.1
- Fix upgrade routine to run without reactivate.
Version 2.1.0
- Complete re-write. No uses same code base as Advanced Content Templates for an improved user experience, and easier code maintenance for our team.
Version 2.0.16
- Fix upgrade menu item bug that causes menu to show up for non-privileged users.
Version 2.0.15
- Change menu permission to edit_others_pages so that editors can manage Simple Content Templates.
Version 2.0.14
- Fix one more menu related issue with Subscriber role.
Version 2.0.13
- Change role requirement to manage_options from edit_dashboard so Subscribers and other low permission users can’t see SCT menu or modify settings.
Version 2.0.12
- In my clean up of the last release, I forgot to apply the fixes to the template editor, which caused some abnormalities. I apologize!
- Warning: Tiny MCE isn’t a fan of PHP. If you need to do php tags in text view, switching to the Visual view will cause them to be commented out. I’d work in one view or the other.
Version 2.0.11
- Tighten up HTML parsing with PHP. May make PHP parsing more strict at the expense of fewer HTML template problems.
- Fix issue loading template manually on page post type.
Version 2.0.10
- Renamed plugin to Simple Content Templates. This should be a better description of what the plugin actually does!
- Fixed bug with editing an existing template where HTML was loaded improperly into editor.
Version 2.0.9
- Sort templates alphabetically.
Version 2.0.8
- Properly handles the WordPress propensity to add quotes to all request data.
Version 2.0.7
- Disables that horrible ’feature’ known as magic_quotes_gpc, if it is enabled (< PHP 5.4 only).
Version 2.0.6.2
- Fixed PHP eval handling.
Version 2.0.6.1
- UTF-8 support!
Version 2.0.6
- WYSIWYG editor for post content.
- Reformatted settings page.
- Now uses singleton pattern.
- Added a few shameless plugs for Advanced Content Templates
Version 2.0.5
- Bug fixes.
Version 2.0.4:
- Sacre bleu! A change in the way WordPress handles plugin updates 3 major releases ago prevented upgrades from 1.x to 2.x from working. This should be fixed with this release. So sorry for the confusion!
Version 2.0.3:
- Fixed bug where HTML in templates messed up templates layout.
- Fixed bug with 1.x to 2.x migration script. Previous versions did not work at all.
Version 2.0.2:
- Fixed bug that prevented proper use of HTML in templates.
Version 2.0.1:
- Fixed error in upgrade process. Should import old templates no matter what, now. Error in logic prevented this.
Version 2.0:
- NEW! Add / maintain multiple templates.
- Rewritten from the ground up to support OOP coding techniques, and the latest WordPress methods.
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 Content 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 necessary.)
- 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.