• I have been working with a theme I built myself for a website. I have several pages that link to a custom page template selected through the page attributes template select. This section is now gone. All pages are still linked to the template I selected when it WAS displaying. But now I can’t assign new pages to new templates or update existing ones.

    I’ve disabled all plugins even though I have NOT set up any plugins in the span of when the template drop down stopped displaying. Did not work.

    I deactivated the theme and reactivated it. Did not work.

    I’ve double and triple checked that my pages have the correct comment at the top specifying it is a template. All is good there, that’s not the issue.

    What gives? What a really weird bug and kind of a show stopper until I can get this sorted out somehow. I have literally no clues on how or why this is happening.

    Help? Can I just get in the database and link a page that way as a crude workaround?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Can you share using the pastbin or other preferred method here for sharing long lines of code an example of a custom theme’s custom page template?

    It it is likely using deprecated methods.

    Thread Starter liquilife

    (@liquilife)

    It’s definitely not the page, it’s the box is no longer showing up when I’m editing/creating a page. With that said, here is exactly what I have in a page that doesn’t trigger the box to show up, along with my numerous other pages.

    <?php
    /**
     * Template Name: About 
     */
    
    ?>
    
    <?php get_header(); ?>
    
    <!-- My content -->
    
    <?php get_footer(); ?>

    Unless I can see the whole page template, I will not be able to be of assistance nor do I believe will others).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Page attributes template select disappeared’ is closed to new replies.