﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
7103	Post Template	gmcosta	anonymous	"In the past few days I was trying to modify (with no success) the code of Wordpress Core to let users who has capability to write posts, to choose (in Write Post screen) what Post Template they want to use, like Wordpress already do with Pages.

http://iferrari.net/post-template-feature-in-wordpress-26/

To become included in the release feature list, this suggestion should be at least, very useful, so why am I proposing this?

Just an example. If you are using categories to classify books, the Book will be the post. You have to use custom fields to display some additional data, so you’ll have to prepare your single.php (unique post template) to display correctly this data.

In the same site you have to display pictures, movies, cars,etc… All of these data has it’s own group of custom fields.

Just imagine the hundreds of lines your single.php will have just to check what custom fields it should be displayed if you have 40 60 +100 categories associated with main cats: pictures, movies, cars...

I modified the follow files:

wp-includes/theme.php
Line 440 - 461

wp-admin/includes/template.php
Line 905 - 915

wp-admin/includes/theme.php
Line 53 - 76

wp-admin/includes/post.php
Line 206 / 226-227 / 330 / 406

wp-admin/edit-form-advanced.php
Line 269-280

Like I'm not so familiar with wp core code and well know php dev I got some erros.
The image I attached reproduce the Page Template in Write Post

I would like if someone give feedback.
kind regards.
Gmcosta"	enhancement	closed	normal		Administration	2.7.1	normal	wontfix	needs-patch	mikeschinkel@… bainternet 24-7@…
