Title: Cannot create new templates
Last modified: August 20, 2016

---

# Cannot create new templates

 *  [nicholasbarry](https://wordpress.org/support/users/nicholasbarry/)
 * (@nicholasbarry)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/cannot-create-new-templates/)
 * When I use the Create New Template form, and hit “Save”, I’m taken to a page 
   that says “You are not allowed to edit this post.”
 * The template has not been created, after doing this.

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [benxiro](https://wordpress.org/support/users/benxiro/)
 * (@benxiro)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/cannot-create-new-templates/#post-2214295)
 * can fix it by opening file manage.php, find the following lines:
 * if ( isset( $_POST[‘ID’] ) ) {
    $_POST[‘post_ID’] = $_POST[‘ID’]; }
 * change them to:
 * if ( isset( $_POST[‘ID’] ) ) {
    $_POST[‘post_ID’] = $_POST[‘ID’]; unset ( $_POST[‘
   ID’] ); }
 * That’s it! my wp3.2.1 is working great
 *  [couponsmakecents](https://wordpress.org/support/users/couponsmakecents/)
 * (@couponsmakecents)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/cannot-create-new-templates/#post-2214325)
 * I have looked all over the place and I cannot find my file manage.php. where 
   is it?
 *  [benxiro](https://wordpress.org/support/users/benxiro/)
 * (@benxiro)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/cannot-create-new-templates/#post-2214326)
 * you’ll find it in the folder of that plugin. I mean:
    wp-content/plugins/article-
   templates
 *  [VentureMaker](https://wordpress.org/support/users/venturemaker/)
 * (@venturemaker)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/cannot-create-new-templates/#post-2214329)
 * OK, I don’t see such lines in manage.php
    More ideas? 🙂
 *  [benxiro](https://wordpress.org/support/users/benxiro/)
 * (@benxiro)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/cannot-create-new-templates/#post-2214330)
 * Oh, I’m sorry
    It’s should be found in wp-admin/includes/post.php function wp_write_post()
 *  [VentureMaker](https://wordpress.org/support/users/venturemaker/)
 * (@venturemaker)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/cannot-create-new-templates/#post-2214342)
 * Well, my WP 3.2.1 already has this code in a way you proposed it.
    I mean, I 
   don’t have to change anything in /wp-admin/includes/post.php because it already
   has `unset ( $_POST['ID'] );` line there.
 * More ideas? 🙂
 *  [MrWeeble](https://wordpress.org/support/users/mrweeble/)
 * (@mrweeble)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/cannot-create-new-templates/#post-2214347)
 * OK, this is what worked for me
 * In article-templates/manage.php change
    } elseif($_POST[‘action’] == ‘new’) {
   wp_write_post(); }
 * to
 *  } elseif($_POST[‘action’] == ‘new’) {
    unset($_POST[‘post_ID’]); wp_write_post();}
 * Which seems to now allow me to add new templates. I can’t seem to delete them,
   but that isn’t a deal-breaker for me
 *  [A2JC4life](https://wordpress.org/support/users/a2jc4life/)
 * (@a2jc4life)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/cannot-create-new-templates/#post-2214374)
 * Worked for me, too. Thanks!
 *  [LookHomeward](https://wordpress.org/support/users/lookhomeward/)
 * (@lookhomeward)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/cannot-create-new-templates/#post-2214378)
 * And for me. Many thanks!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Cannot create new templates’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/article-templates.svg)
 * [Article Templates](https://wordpress.org/plugins/article-templates/)
 * [Support Threads](https://wordpress.org/support/plugin/article-templates/)
 * [Active Topics](https://wordpress.org/support/plugin/article-templates/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/article-templates/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/article-templates/reviews/)

 * 9 replies
 * 7 participants
 * Last reply from: [LookHomeward](https://wordpress.org/support/users/lookhomeward/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/cannot-create-new-templates/#post-2214378)
 * Status: not resolved