I think this happened when I upgraded to 3.4, or it might have happened more recently. The template drop down list is now missing most of my templates. Pages that were using the templates are still working but when I go to edit the page the drop down says ‘Default template’ and the template it is currently using is not shown in the drop down box.
does anyone have any ideas why they disappeared or what I can do to get them back?
There was a WordPress 3.4.1 update released a little over a week ago. One of the bugfixes mentioned is “
Fixes an issue where a themeâs page templates were sometimes not detected.
” Have you tried doing that upgrade yet?Your template headers are possibly not formatted correctly. If I remember correctly, I saw something recently about the code used to read in page templates had changed and was more strict about proper header formatting. Make sure
the name is on its own linethere is space between name and comment asterisks:or