Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I can't duplicate what you're seeing with a clean install of WordPress 3.3.1. I have a theme with just two files, <code>style.css</code>, containing:</p> <pre><code>/* Theme Name: stackoverflow-8946077 Template: twentyeleven Version: 0.0.1 */ @import url("../twentyeleven/style.css"); </code></pre> <p>and <code>coming-soon.php</code>, containing:</p> <pre><code>&lt;?php /* Template Name: Coming Soon */ get_header(); ?&gt;&lt;h1&gt;Coming Soon&lt;/h1&gt;&lt;?php get_footer(); ?&gt; </code></pre> <p>the first part of which was copied from your question.</p> <p>I see the template as expected:</p> <p><img src="https://i.stack.imgur.com/XPVJS.png" alt="WordPress templates"></p> <p>The only things I can think of are to double-check:</p> <ul> <li>the file exists on the server you're running on</li> <li>the file's in the child template's directory (though it should work if it's in the <code>twentyeleven</code> directory)</li> <li>there's no file with the same name in the <code>twentyeleven</code> directory, which (I think) would take precedence</li> <li>the file name ends in <code>.php</code></li> <li>you only have a single space between "Template" and "Name:" (the regex used contains the literal <code>Template Name:</code>)</li> </ul> <p>Failing that, the dropdown is populated by the <code>get_page_templates</code> function in <code>wp-admin/includes/theme.php</code>. Might be worth sticking some debug code in there to see if the <code>$templates</code> variable includes <code>coming-soon.php</code>.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload