Timeline for Adding items to page template dropdown on Page Edit Screen
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 10, 2015 at 15:51 | comment | added | MikeSchinkel | @Sisir - Okay, cool. | |
Aug 10, 2015 at 12:21 | comment | added | Sisir |
Yep, Probably I did something wrong on the filter but it was running out of time so used admin_head and didn't gave much though why the filter didn't worked.
|
|
Aug 9, 2015 at 18:40 | comment | added | MikeSchinkel |
@Sisir - So the 'default_page_template_title' hook did not work but 'admin_head' did? But ultimately you got it working?
|
|
Aug 9, 2015 at 14:54 | comment | added | Sisir |
The method worked! I had to change the hook to admin_head with appropriate conditionals. Somehow adding to the filter didn't worked for me.
|
|
Aug 9, 2015 at 14:53 | vote | accept | Sisir | ||
Aug 9, 2015 at 12:42 | comment | added | Sisir | I thought about adding to the cache some point using the WP_Theme class. But everything can be use as a work around is private on the class. Your implementation is very clever indeed :) I will try it out and let you know.. | |
Aug 8, 2015 at 17:29 | comment | added | birgire | What a creative workaround, thanks for sharing - I look forward to test&play ;-) | |
Aug 8, 2015 at 16:33 | history | answered | MikeSchinkel | CC BY-SA 3.0 |