|Reported by:||gmcosta||Owned by:||anonymous|
|Cc:||mikeschinkel@…, bainternet, 24-7@…|
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.
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:
Line 440 - 461
Line 905 - 915
Line 53 - 76
Line 206 / 226-227 / 330 / 406
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.
Change History (16)
- Priority changed from low to normal
- Severity changed from trivial to normal
- Keywords needs-patch added
- Milestone changed from 2.9 to Future Release