WordPress Administration Plugin - Article Templates
Article Templates wordpress plugin lets you create templates that can be used when writing a new post or page. This will be very useful if you are writing many post with the same structure.
Download
Article Templates (Latest)Installation
- Download the zipped file.
- Extract and upload the contents of the folder to /wp-contents/plugins/ folder
- Go to the Plugin management page of WordPress admin section and enable the Article Templates plugin
- Go to the Templates Management page(Manage > Manage Templates) to create the templates.
How to Use
Go to the Templates Management page(Manage > Manage Templates). All the templates you have created will be shown there. You will have the option to create, edit and delete templates in this page.
All templates you have created will be shown in a dropdown in the Post pages. When creating a new post, you can chose a template from the dropdown menu and it will be inserted into the editor automatically.
If a template is set as default, that will be inserted into the editor whenever you write a new post.
Please note that the templates can only be used by the user who created the template. This feature might be removed in the future versions.

Comments
Warning: Cannot modify header information - headers already sent by (output started at /home/website/public_html/wp-admin/admin-header.php:16) in /home/website/public_html/wp-includes/pluggable.php on line 391
It still makes the template but I thought you should know.
Warning: Cannot modify header information - headers already sent by (output started at public_html/wp-admin/admin-header.php:16) in public_html/wp-includes/pluggable.php on line 391
What does this mean?
Do you have a solution?
Christian
Please let me know when this plugin is updated, I am excited about the possibilities!
Warning: Cannot modify header information - headers already sent by (output started at /home/bdrecord/public_html/effectiveclassywebsites/testsite/wp-admin/admin-header.php:16) in /home/bdrecord/public_html/effectiveclassywebsites/testsite/wp-includes/pluggable.php on line 391
Here is my system information.
WordPress-Version : 2.3.2
WordPress-Db-Version : 6124
Role-Manager-Version : 02.02.01 (131585)
PHP-Version : 5.2.4
preg_replace : yes
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/yourh11/public_html/wp-content/plugins/article-templates/manage.php on line 34
Is this my error or in the scripting or whatever?
Parse error: parse error, unexpected T_OBJECT_OPERATOR in /wp-content/plugins/article-templates/manage.php on line 34
Is this because the plug-in is aimed at PHP5?
any ideas?
thanks,
-j
Cannot load article-templates/manage.php.
Craig
I was install it, but i wasn't see it on menu.
Tks
I am not sure what you mean.
I believe it handles plugins in a slightly different manner.
Working with Wordpress 2.5 (Just updated wordpress)
The only problem that I saw was that it inserts the option to choose the template below the Categories box just before Advanced Options, and it is difficult to find. I made some changes to your code to incorporate the same style box that all of the other options use (div id="postbox") and now it fits in seamlessly with all the other options on the page.
If you would like, I can zip up the changed files and send them to you.
When writing a new post, I choose the article template, and the code is inserted into the post textarea with the proper linebreaks between the lines of code (see below).
Question:
Insert question here
Answer:
Insert answer here
However, when I go to the Manage Templates tab and select "New post" next to one of the templates, the code that is inserted into the post textarea box all runs together and has the linebreak tags inserted (see below).
Question:
Insert question here
Answer:
Insert answer here
In looking at your code, you are using javascript to insert the template content in templates.php, which inserts the code correctly. In manage.php, you are not using that same javascript, so the html code is all running together.
Any ideas on what I can do to fix this issue?
Thanks in advance!
<?=__("Create New Template")?>I was install it, but i wasn't see it on menu.
I have the latest version of this plugin (1.04.0) installed on my WP 2.5.1 install, and it works just fine.
Make sure you have the latest version of this plugin. Once you have installed and activated it, navigate to the Manage tab in your WP admin, then look for a link called "Manage Templates". Click that and you should see a link on that page called "Create New Template" - click that link, fill in template title and the information you want to include on that article template, then click Save. It will take you back to the Manage Templates page where you should see your new template listed.
The Plugin works great.
When using in conjunction with Wordpress Admin Bar I had problems with the Admin Bar picking up the wrong link info so I had to modify this plugin as follows and all works fine. Not sure if I missed something and changed this when I didn't need to?
----- CODE ------
add_action( 'admin_menu', 'templates_add_menu_links' );
function templates_add_menu_links() {
$view_level= 2;
add_submenu_page( 'edit.php', __('Manage Templates'),
__('Manage Templates'), $view_level, // Modified by Chris Pike to make compatible with WP Admin Bar under WP2.5.1 (Manage/Managed Templates had the wrong link in) - 6th May 2008
'article-templates/manage.php' );
}
perfect.
regards
a, strong, em, b, i, code, pre, pandbrallowed. Other tags will be shown as code(< will become <). Urls, Line breaks will be auto-formated.