Timeline for single- and archive- templates not being applied to custom post types, not even after flushing permalinks
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 4, 2016 at 10:00 | comment | added | JonK | @Milo turns out you were right. Having uppercase lettes in my template filenames was the cause. | |
Jul 4, 2016 at 9:59 | answer | added | JonK | timeline score: 0 | |
Jul 1, 2016 at 15:33 | comment | added | Milo | capital letters in post type slug can definitely break template loading. | |
Jul 1, 2016 at 13:19 | comment | added | jdm2112 | Post the code so we can review? | |
Jul 1, 2016 at 12:41 | comment | added | bravokeyl | What's your custom post type name and slug? | |
Jul 1, 2016 at 12:40 | comment | added | JonK | @slug is ok. However, there are capital letters and an underscore in my custom post type name. Could that be a problem? I came across another post which suggested something along those lines, but I would have to change that name in many places if I were to alter it... | |
Jul 1, 2016 at 12:25 | comment | added | bravokeyl | Double check custom post type slug once. | |
Jul 1, 2016 at 12:19 | history | asked | JonK | CC BY-SA 3.0 |