Last night i installed a new theme to this blog of mine and after setting basic things up when i went to edit my archives page at admin end the Template drop-down in Page Attribute box was missing. Strange. I searched over the issue and found some good resources explaining ‘how and why’ of the problem and some remedies as well to bring the Template Drop down(box??) back. Here are two of them:
I tried some remedies for myself but nothing came out as good as i required. I searched for “Template” terms in CSS files (they said this could cause issue), switched between themes(as per suggestion), cursed my new theme(#$^%:(*&%#@!) and so and so… And then i went to sleep tired of it. zzzzzzzzz… zzzzzzz…
In the morning after checking my emails, and after writing last post, i decided to resolve the issue or even to change the template if it wouldn’t work. After trying some fixes again, (as a good move) i decided to compare archives.php template of new theme to archives.php template of old theme and hello, there is no archives.php template file in new theme! (i need to learn wordpress, of course!)
Well, well. I got it now. So this is how it works. If you do not have any additional template file (in addition to default template) it would not show the Template drop-down box under Page Attribute section. I copied my old archives.php file into new theme folder and finally i am a happy man now.
Thanks for reading.
Hello Friends, I’m Arvind Kumar, founder of Inimist Technologies, Inimist Academy, The Fundabook and many more. I am a Full Stack Web Developer and Programmer by heart, and a Hindi/English blogger by chance. I build Web and Mobile Application around React, VueJS, NodeJS and PHP frameworks.
Have a project in mind? Get in touch