WP Pages: “page template” dropdown not visible – SELF MADE THEME
-
I made an edit to the only page (not post) on my blog that uses a page template, the search page. When I set it up in around May 2022 I selected a page template (I’d created separately) from a drop down menu that (I think) was in the Page Attributes box. Today when I saved the change, the search page had somehow “un-linked” from the page template, and no longer works.
The search field input box, and the content that was on the search page has all vanished, only the title remains. That makes sense though as all of this was on the page template file, which I had called searchpage.php
I searched around and see the process for selecting page templates was changed sometime around WP 5.8. Now there’s meant to be a box or option called “Templates” in the sidebar, along with the usual things like Publish, Page Attributes, and Featured Image, but Templates is not visible on the editor page sidebar (see screenshot: https://imgur.com/a/t529U1o).
Has anyone else seen this? I made the theme myself in May 2022 (as I have a couple of times since adopting WP in 2007) so cannot get support from a theme developer. I’m no pro, I just followed the then latest guidelines in the WP codex, plus the info on a couple of reputable WP blogs, when creating the theme last year. The site has otherwise functioned perfectly since I built the theme.
A few other things: I’m running the latest version of WP (6.2.2), and all plugins are up to date. I also use the classic editor plugin, but when I switched over to the Block Editor it made no difference.
Any advice would be greatly appreciated ??
- The topic ‘WP Pages: “page template” dropdown not visible – SELF MADE THEME’ is closed to new replies.