• I have a theme that includes a file called “single.php”. It’s used to display a single post. The funny thing is that in my Theme Editor, it does not show up in the list of files on the right. Can’t figure out why.

    I went in and added the following, just in case it would help (saw it in my links.php file), but it didn’t do anything:


    <?php
    /*
    Template Name: single
    */
    ?>

    Why is it not showing up?

Viewing 1 replies (of 1 total)
  • That’s how it works. The single.php doesn’t show up in the selection on the right. You can safely delete those lines from the top, those are for Page templates.

Viewing 1 replies (of 1 total)

The topic ‘Theme file not showing up in Theme Editor’ is closed to new replies.